问题
I tried to install flask-mysqldb on my Windows 10 using
flask-mysqldb
but I get this error:
running build_ext
building '_mysql' extension
error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat).
I'm using Python 3.4.3 Please tell me exactly what I should do to make this work. I went through many solutions but it didn't help me.
回答1:
PIP install the mysqlclient Windows binary before installing flask-mysql.
来源:https://stackoverflow.com/questions/35276503/error-while-installing-flask-mysqldb