I want to install Visual C++ Build Tools in a machine that is running in CentOS 8.
I went through many answers, but everything is based on either Windows or Mac.
I also tried
pip install --upgrade setuptools
But this one too doesn't help me.
After searching many websites, finally, I got the answer from the comment section of this question.
Where-to-get-msbuild-fro-linux
Related
This link
shows that in order to install Kivy with python3.11, you must build your own "wheel". Unfortunately for me, the above install fails at the "make install" command. "which python" seems to confirm that i am in the correct virtual environment, but i am not certain.
So we know for sure that if, as of today, you have the most recent version of python, which is python3.11, then you must build your own wheel for Kivy.
That stackoverflow link doesnt work for me, so I thought, well I will just install python3.7 or python3.8. Unfortunately www.python.org does not have installers for versions lower than 3.9. www.python.org does have python3.7 and python3.8 available but those versions do not have "macOS 64-bit...installer" available for them. i am reluctant to try a python install manually without the installer.
my reading of the Kivy documentation confirms that Kivy is happy with python3.7 or python3.8.
So for me, because I want to use a python version that has an installer on www.python.org, I cannot install Kivy without building my own wheel. And that installation fails for me.
Any advice?
The answer is YES, Kivy installation is possible today without building your own wheel. Use python3.10 as of today, February 8, 2023. Kivy wheels are already built for phthon3.10. I installed Python3.10 from www.python.org on my mac laptop running Monterey 12.6. Then I followed the Kivy install instructions at www.kivy.org. The instructions worked perfectly and now I can run Kivy apps from the command line. Next step is to synchronize my python IDE with the environment variables that were used to install Python3.10 and Kivy.
trying to install audio diff for python 3.0 in visual studio code but getting an error message stating no matching distribution found for mutagen==1.21.
I tried installing mutagen 1.21 got installed but still not able to install audiodiff.
So, looking at this issue it looks like these libraries (mutagenwrapper and audiodiff) are written for Python2 so if you are using Python3 they won't work.
Luckily, it looks like #SteveClement has updated them to Python3 himself (thank you to this comment for pointing it out).
So, to install his versions of them:
pip install git+https://github.com/SteveClement/mutagenwrapper.git
pip install git+https://github.com/SteveClement/audiodiff.git
I can't test these but let me know if this works for you.
I have a linux server can not link the Internet and I wand to install dlib in my anaconda enviroment. But I do not know how to install cmake and boost for python? can any one help me? thx
You can't install Dlib directly without cmake and visual studio
First Download the CMake installer and install it from 'https://cmake.org/download/'
Add CMake executable path to the Enviroment Variables:
set PATH="%PATH%;C:\Program Files\CMake\bin"
Then "pip install CMake"
Install Visual Studio build tools from 'https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community&rel=15#'
In Visual Studio 2017 go to the Individual Components tab, Visual C++ Tools for Cmake, and check the checkbox under the "Compilers, build tools and runtimes" section.
The at last "pip install dlib"
It definitely works., have a try :)
In python misaka module not able to install while installing pip install misaka showing download error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Vi
sual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
please suggest the above solution. i checked python version for system 64 same is there.
use following code in your cmd
pip install misaka
to install miska library
some example
from misaka import Markdown, HtmlRenderer
rndr = HtmlRenderer()
md = Markdown(rndr)
print(md('some text'))
Working solution!
Go to https://visualstudio.microsoft.com/downloads/ scroll down one page and download Visual Studio 2017 community.
Go through following link to download the required components for Microsoft Visual C++ 14.0, the link provides what components to be selected while downloading.
https://developercommunity.visualstudio.com/content/problem/409173/error-microsoft-visual-c-140-is-required.html
Once the download finishes, you will be asked to restart your system.
Having restarted your system, type
pip install django-misaka
Hope it works as it worked for me!
you should have install the module using pip
pip install django-misaka
I have been coding Python 3.7 using Visual Studio Code on Windows 10. Recently, I have taken over a new project, which calls for some newer and different libraries. Hence, for whatever reason, I decided not to customise my libraries, but to install Anaconda, and install the corresponding libraries into it.
However, since I cannot remember all the libraries I have already installed in Visual Studio Code (e.g. numPy, matplotlib, etc.), I'd like to ask if there is any way to get a list of the libraries I added on to my Python installation.
I appreciate your comments in advance!
Cheers,
Sina
You can list your installed libraries using pip.
pip list will give you the list of all installed libraries for its python installation.
NB: Just make sure you are using the pip.exe from the good install of python, in your case the 3.7 you mentionned
You can use the pip list command to show all installed packages.
Windows:
$ py -m pip list [options]
Linux:
$ python -m pip list [options]
Documentation: https://pip.pypa.io/en/stable/cli/pip_list/
you can use conda list to list all the packages installed in anaconda environment