![]() ![]() errorĮRROR: Complete output from command /Users/wx/Desktop/pgo_django/.venv/bin/python2.7 -u -c 'import setuptools, tokenize _file_='"'"'/private/var/folders/dt/ffnv1q7j0jg5dw5g58gfw66h0000gp/T/pip-install-aGQeuy/MySQL-python/setup.py'"'"' f=getattr(tokenize, '"'"'open'"'"', open)(_file_) code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"') f.close() exec(compile(code, _file_, '"'"'exec'"'"'))' install -record /private/var/folders/dt/ffnv1q7j0jg5dw5g58gfw66h0000gp/T/pip-record-PuIVBL/install-record.txt -single-version-externally-managed -compile -install-headers /Users/wx/Desktop/pgo_django/.venv/bin/./include/site/python2.7/MySQL-python:ĮRROR: Command ".venv/bin/python2.7 -u -c 'import setuptools, tokenize _file_='"'"'/private/var/folders/dt/ffnv1q7j0jg5dw5g58gfw66h0000gp/T/pip-install-aGQeuy/MySQL-python/setup.py'"'"' f=getattr(tokenize, '"'"'open'"'"', open)(_file_) code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"') f.close() exec(compile(code, _file_, '"'"'exec'"'"'))' install -record /private/var/folders/dt/ffnv1q7j0jg5dw5g58gfw66h0000gp/T/pip-record-PuIVBL/install-record.txt -single-version-externally-managed -compile -install-headers. Running setup.py install for MySQL-python. Installing collected packages: MySQL-python _mysql.c:44:10: fatal error: 'my_config.h' file not foundĮrror: command 'clang' failed with exit status 1ĮRROR: Failed building wheel for MySQL-python ![]() ![]() A future version of pip will drop support for Python 2.7.īuilding wheels for collected packages: MySQL-pythonīuilding wheel for MySQL-python (setup.py). Please upgrade your Python as Python 2.7 won't be maintained after that date. ![]() Python27环境直接安装MySQL-python出现以下报错: pip install MySQL-pythonĭEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |