尝试使用 pip 安装 sheetsync 时出错

Error trying to Install sheetsync using pip

我正在尝试安装名为 syncsheets 的库,但收到以下错误。我环顾了具有类似问题的类似情况并得出了一个结论,但仍然很难理解我目前的情况。参考问题:

我的印象是这个库只支持 python2,任何 help/confirmation 都非常感谢我如何解决这个错误。谢谢!

ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ip2brw81/sheetsync/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ip2brw81/sheetsync/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 /tmp/pip-pip-egg-info-tyozokps
         cwd: /tmp/pip-install-ip2brw81/sheetsync/
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-ip2brw81/sheetsync/setup.py", line 4, in <module>
        execfile(os.path.join('sheetsync','version.py'))
    NameError: name 'execfile' is not defined
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

我认为您要安装的库 sheetsync 仅与 python2 兼容。在您的问题中,您正在尝试使用 python3.

安装