Error while installing flask-mysqldb

大兔子大兔子 提交于 2020-02-02 17:41:01

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!