尝试在Windows 10下使用Python 3.5在Anaconda中安装Turicreate时出错

时间:2019-11-26 20:51:07

标签: python windows anaconda turi-create

我试图在Windows 10中使用Anaconda和Python 3.5使用以下命令来安装Turicreate:

pip install -U turicreate

我已经按照官方页面上的确切步骤进行操作,并且在执行上一条命令后仍然遇到此错误:

    Collecting turicreate
  Using cached https://files.pythonhosted.org/packages/96/19/44edfc07bd1b03596578ff02d9727b83c2ae50ee969ce2ab23724009d9ff/turicreate-5.7.1.tar.gz
    ERROR: Command errored out with exit status 1:
     command: 'c:\users\user\anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\USER\\AppData\\Local\\Temp\\pip-install-5e3jtboa\\turicreate\\setup.py'"'"'; __file__='"'"'C:\\Users\\USER\\AppData\\Local\\Temp\\pip-install-5e3jtboa\\turicreate\\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\USER\AppData\Local\Temp\pip-install-5e3jtboa\turicreate\pip-egg-info'
         cwd: C:\Users\USER\AppData\Local\Temp\pip-install-5e3jtboa\turicreate\
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "c:\users\user\anaconda3\lib\tokenize.py", line 454, in open
        buffer = _builtin_open(filename, 'rb')
    FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\USER\\AppData\\Local\\Temp\\pip-install-5e3jtboa\\turicreate\\setup.py'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

谢谢。

0 个答案:

没有答案