安装Futures时退出状态1时命令出错,== 3.2.0

时间:2019-10-19 07:58:12

标签: python-3.x

我正在使用Windows 10,Python 3.6.8。 我从requirements.txt文件安装了Futures == 3.2.0 在那里,我遇到了以下错误

[ERROR: Command errored out with exit status 1:
     command: 'c:\users\hp\appdata\local\programs\python\python36\python.exe' -c 'import sys, setuptools, tokenize; sys.argv\[0\] = '"'"'C:\\Users\\Public\\Documents\\Wondershare\\CreatorTemp\\pip-install-330kuzvf\\h5pyViewer\\setup.py'"'"'; _file='"'"'C:\\Users\\Public\\Documents\\Wondershare\\CreatorTemp\\pip-install-330kuzvf\\h5pyViewer\\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 'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-330kuzvf\h5pyViewer\pip-egg-info'
         cwd: C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-330kuzvf\h5pyViewer\
    Complete output (6 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-330kuzvf\h5pyViewer\setup.py", line 82
        print ':'+ver+':'+gitcmt+':'
                ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print(':'+ver+':'+gitcmt+':')?
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.][1]

当我尝试访问setup.py文件的位置时,它说不存在这样的路径。

我尝试安装它时没有明确提到版本,它安装了Futures且没有错误,但是该版本已弃用futures == 3.1.1,这不是我想要的。

有人领导怎么做吗?

0 个答案:

没有答案