I am trying to run the following command in Windows:
pip install flask-sqlalchemy mysql-python
But I get the following error:
cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG / MD -Dversion_info=(1,2,5,'final',1)
-D__version__=1.2.5 "-IC:Program Files (x86)MySQLMySQL Connector C 6.0.2include" "-Ic:usersmrnonameanaconda3include" "-Ic:
usersmrnonameanaconda3include" /Tc_mysql.c /Fobuild emp.win-amd64-3.5Release/
_mysql.obj /Z1
error: command 'cl.exe' failed: No such file or directory
I looked up cl.exe error and found a thread on SO.
Visual studio doesn't have cl.exe
Visual Studio 2015 doesn't install C++ by default. You have to rerun the setup, select Modify and then check Programming Language -> C++
But for Visual Studio 2017, I don't see such an option. There is no "Programming Language" option to select C++.
I tried installing most of the C++ options (skipping only ones like designed specifically for gaming or other things irrelevant to me) but this didn't solve it.
Does anyone have suggestions for how to correct this for Visual Studio Community 2017?
See Question&Answers more detail:os