【发布时间】:2019-05-05 17:39:03
【问题描述】:
我是 python 新手,我正在尝试从控制台安装 flask_mysqldb。尝试使用 PIP 安装后,出现此错误:
Command "c:\users\\appdata\local\programs\python\python37-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\\\AppData\\Local\\Temp\\pip-install-u_90tj5p\\mysqlclient\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\\AppData\Local\Temp\pip-record-kdrtt5v6\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\\AppData\Local\Temp\pip-install-u_90tj5p\mysqlclient\
我已经关注了这个[Flask-MySQLdb的文档][1]
这是什么错误?以及如何解决?
【问题讨论】: