Mac pip install xlwings

2023-07-18  本文已影响0人  xiaotimel

使用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
上一篇 下一篇

猜你喜欢

热点阅读