python - 尝试在 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.
先感谢您。
解决方案
推荐阅读
- python - Google Sheets API 图像公式
- android - 如何在 android studio 中使用环境变量?
- python - Pandas groupby 从父数据框继承组?
- rust - 如何拥有一个接受来自另一个变量的闭包调用方法的结构?
- linux - 执行 curl 调用后如果不同则替换文件
- clojure - 对 java 对象使用类似解构的语法
- python - 如何使用 numpy where 打印匹配条件的第一个元素或将其转换为整数?
- python - 包含属性的 python 类的 ruamel.yaml 转储似乎会产生意外的 yaml 格式
- postgresql - 如何模拟缓慢的 postgres db
- python - VS Code 在 Python 代码执行期间不会打印,只会在最后打印