I\'ve installed Python 3.5 and while running
pip install mysql-python
it gives me the following error
error: Microsoft Vi
mayavi
.So I also had the common error: Microsoft Visual C++ 14.0 is required
when pip installing a library.
After looking across many web pages and the solutions to this thread, with none of them working. I figured these steps (most taken from previous solutions) allowed this to work.
Build Tools for Visual Studio 2017
. Which is under All downloads
(scroll down) >> Tools for Visual Studio 2017
C++ Components
you require (I didn't know which I required so installed many of them).
Build Tools for Visual Studio 2017
then open the application Visual Studio Installer
then go to Visual Studio Build Tools 2017
>> Modify
>> Individual Components
and selected the required components. C++/CLI support
, VC++ 2017 version <...> latest
, Visual C++ 2017 Redistributable Update
, Visual C++ tools for CMake
, Windows 10 SDK <...> for Desktop C++
, Visual C++ Build Tools core features
, Visual Studio C++ core features
.Install/Modify these components for Visual Studio Build Tools 2017
.
This is the important step. Open the application Visual Studio Installer
then go to Visual Studio Build Tools
>> Launch
. Which will open a CMD window at the correct location for Microsoft Visual Studio\YYYY\BuildTools
.
python -m pip install --upgrade setuptools
within this CMD window.pip install -U
.