python 安装gevent失败
这个是报错的信息Collecting gevent==20.4.0
Downloading gevent-20.4.0-cp37-cp37m-macosx_10_9_x86_64.whl (1.8 MB)
Collecting greenlet>=0.4.14; platform_python_implementation == "CPython"
Using cached greenlet-0.4.16.tar.gz (60 kB)
Using legacy setup.py install for greenlet, since package 'wheel' is not installed.
Installing collected packages: greenlet, gevent
Running setup.py install for greenlet: started
Running setup.py install for greenlet: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv = '"'"'/private/var/folders/xq/3s1tw71x09d8d4t9shphn5wc0000gn/T/pycharm-packaging/greenlet/setup.py'"'"'; __file__='"'"'/private/var/folders/xq/3s1tw71x09d8d4t9shphn5wc0000gn/T/pycharm-packaging/greenlet/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/xq/3s1tw71x09d8d4t9shphn5wc0000gn/T/pip-record-bzf6uccr/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/greenlet
cwd: /private/var/folders/xq/3s1tw71x09d8d4t9shphn5wc0000gn/T/pycharm-packaging/greenlet/
Complete output (9 lines):
running install
running build
running build_ext
building 'greenlet' extension
creating build
creating build/temp.macosx-10.9-x86_64-3.7
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c greenlet.c -o build/temp.macosx-10.9-x86_64-3.7/greenlet.o
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv = '"'"'/private/var/folders/xq/3s1tw71x09d8d4t9shphn5wc0000gn/T/pycharm-packaging/greenlet/setup.py'"'"'; __file__='"'"'/private/var/folders/xq/3s1tw71x09d8d4t9shphn5wc0000gn/T/pycharm-packaging/greenlet/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/xq/3s1tw71x09d8d4t9shphn5wc0000gn/T/pip-record-bzf6uccr/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/greenlet Check the logs for full command output.
好迷糊啊 求助 可能有用?
页:
[1]