使用pip install xlwings 命令时安装出现
ERROR: Command errored out with exit status 1:
command: /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/6k/w93d4kg550vclw3h01bzqldh0000gn/T/pip-install-xsOIhi/appscript/setup.py'"'"'; __file__='"'"'/private/var/folders/6k/w93d4kg550vclw3h01bzqldh0000gn/T/pip-install-xsOIhi/appscript/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/6k/w93d4kg550vclw3h01bzqldh0000gn/T/pip-pip-egg-info-XCAm1P
cwd: /private/var/folders/6k/w93d4kg550vclw3h01bzqldh0000gn/T/pip-install-xsOIhi/appscript/
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/6k/w93d4kg550vclw3h01bzqldh0000gn/T/pip-install-xsOIhi/appscript/setup.py", line 8, in <module>
raise RuntimeError("Python 3.x required.")
RuntimeError: Python 3.x required.
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
请使用
pip3 install xlwings
网友评论