美文网首页
Mac pip install xlwings

Mac pip install xlwings

作者: xiaotimel | 来源:发表于2023-07-18 11:22 被阅读0次

使用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

相关文章

网友评论

      本文标题:Mac pip install xlwings

      本文链接:https://www.haomeiwen.com/subject/evenudtx.html