首页 > 解决方案 > 尝试在 Windows 10 下使用 Python 3.5 在 Anaconda 中安装 Turicreate 时出错

问题描述

我正在尝试使用以下命令在 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.

先感谢您。

标签: pythonwindowsanacondaturi-create

解决方案


推荐阅读