I can't install any packages with pip.
It says install Microsoft Visual C++ build tools.
I installed that but it's still not working (see pic)
And it's 2015 version because version 2017 could not install.
Can you help me ?
Thanks
Related
For a small python project, I'm need to include the "onewire" package.
I tried to install it with
pip install onewire
I then get a huge error message, that includes:
Failed building wheel for onewire
Running setup-py clean for onewire ... error
(Full picture attached Sorry, I couldn't copy/paste it because it's all written on one line...)
I already tried:
pip install wheel
which didn't work. Also, I've tried to install it via the PyCharm Packages installer which resulted in the same error message.
I use the following versions:
Python 3.8.2
Pip 20.2.2
I also updated my visual studio installations
(Picture) Visual Studio Installations
(Picture) Visual Studio 2017 Configuration
(Picture) Visual Studio 2019 Configuration
Does anyone know how to fix that?
Thanks in advance.
You'd need build tools for Visual Studio to install the Microsoft Visual C++ 14.0.
Download it from here.
When you begin the installer, it will have several "options" enabled which will balloon the install size to 5gb. If you have Windows 10, you'll need to leave selected the "Windows 10 SDK" option.
Since, the current link to the build tool directs to the Visual Studio 2017, you'd also need to these:
A. VC++ 2017 version xx.x tools
B. Windows SDK to use standard libraries.
I use Anaconda with python 3.7.2. My OS is Windows 10, I've installed MSMPI. When I'm trying to install mpi4py via Anaconda ( where only the 2.0 version is avalible), python downgrades to 3.6.8 version, which is not compatible with some of my projects. I'm trying to install mpi4py 3 using pip, but I receive an error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/. I've already installed it, but the problem hasn't solved. What should I do?
First of all, you need to install Visual Studio 2017 (https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community&rel=15) with the last SDK Win10 and C++ Dev Tools/
Secondly, install MPI Tools and SDK (https://www.microsoft.com/en-us/download/details.aspx?id=57467)
At the end, print "pip install mpi4py" in cmd.exe
That's all:)
I tried to search a lot before asking it here, but unfortunately couldn't find anything helping.
I want to install cryptography package in python3.4.3 64bit version running on (windows 64bit} machine.
I am getting the following error:
{
generating cffi module 'build\\temp.win-amd64-3.4\\Release\\_constant_time.c'
generating cffi module 'build\\temp.win-amd64-3.4\\Release\\_openssl.c'
building '_openssl' extension
error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat).
}
I do have visual studio 2015 installed and I could find vcvarsall.bat manually,
also my environment variable are pointing to correct folder as suggested in other threads.
VS90COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools
These are the sites i already went through looking for help but in vain.
1) Changing the value for VS90COMNTOOLS,
2) I tried with different versions of visual studio greater than 10 i.e 2010,2012,2013.
3) Python PIP has issues with path for MS Visual Studio 2010 Express for 64-bit install on Windows 7
4) Error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat)
5)https://cryptography.io/en/latest/installation/
We ship a statically linked wheel for Windows (our install instructions mention this) so all you need to do is be running the latest pip (as of June 2016 this is 8.1.2). To upgrade your pip you can do python -m pip install -U pip (pip install -U pip will raise an error due to the way Windows does active file locking).
Once that is installed pip install cryptography will grab the wheel and not require a compiler at all.
I have Microsoft Visual C++ 2010 x(86|64) Redistributable - 10.0.40219 yet while I'm trying to install the Pip package MySQL-python via Visual Studio 2015 Community, I come up with the error error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat). Am I missing something?
I'd say you've not got the appropriate path variable for vc set, so your python is trying to call vcvarsall.bat, but can't find such an animal. Have a look at Cannot find vcvarsall.bat when running a Python script for this exact same question (and some answers).
I am trying to install mysql-python (version 3.4) package in VS 2013 express. I am getting this error message:
Running setup.py install for mysql-python
building '_mysql' extension
error: Unable to find vcvarsall.bat.
I have VC++ 2010/2012 Redistributable installed on Windows 7. What am I missing?
I'm not sure for VS 2013 Express, but vcvarsall.bat was not included in VS2008 Express. I found it in the SDK 6.1 which seemed to be compatible with the versions of Python I use (2.7). It seems that Python 3.4 is itself built with the tools from SDK version 7.