1👍
✅
What you need is to have Microsoft Visual C++ 10.0
compiler (and as far as I remember version 10.0 doesn’t necessarily mean Visual Studio 2010
) installed on your system and vcvarsall.bat
accessible from PATH
environment variable.
However, it is usual for Windows to have enormous amount of blocking issues connected with compiling python extensions via pip (or it’s just me?), so my usual workaround of the error you get is to google some Windows binary installers (mysql-python for 2.7 for instance) or .whl
files. Both have python extensions compiled for a particular Python and architecture thus eliminating the need in having C or C++ compiler installed.
Source:stackexchange.com