在pycharm 下面建立django项目 Failed building wheel for mysqlclient
要特别注意的时候,需要把ven配置好,不然后面识别不到系统已经安装了的wheel 啊 mysqlclient啊
不然在pycharm里面会提示你没有安装wheel
mysqlclient但是实际上你已经安装了只不过pycharm没找到位置
可怕的提示:
Failed building wheel for mysqlclient
Command “C:\Users\Administrator\PycharmProjects\day05\venv\Scripts\python.exe -u -c “import setuptools, tokenize;file=‘C:\Users\Administrator\AppData\Local\Temp\pycharm-packaging\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\Administrator\AppData\Local\Temp\pip-record-stgu6rhc\install-record.txt --single-version-externally-managed --compile --install-headers C:\Users\Administrator\PycharmProjects\day05\venv\include\site\python3.8\mysqlclient” failed with error code 1 in C:\Users\Administrator\AppData\Local\Temp\pycharm-packaging\mysqlclient\
如果按照我上面的在建立项目的时候操作清楚是不会出现找不到的情况的,