我是 conda 的新手,我正在尝试使用 turicreate 包。
conda 默认不提供 turicreate。我已经经历了一些关于在 conda 中安装软件包的类似问题。发现需要创建环境,然后使用pip install。所以刚刚创建了一个环境“coursera_env”
C:\Users\USER>conda activate coursera_env
(coursera_env) C:\Users\USER>conda install turicreate
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible so
lve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible so
lve.
PackagesNotFoundError: The following packages are not available from current cha
nnels:
- turicreate
Current channels:
- https://repo.anaconda.com/pkgs/main/win-64
.
.
- https://repo.anaconda.com/pkgs/msys2/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
使用 pip 搜索找到 turicreate
(coursera_env) C:\Users\USER>pip search turicreate
turicreate (6.3) - Turi Create simplifies the development of custom machine
learning models.
尝试安装 turicreate 时显示以下错误
(coursera_env) C:\Users\USER>pip install turicreate
Collecting turicreate
Using cached turicreate-6.0.tar.gz (1.9 kB)
Using legacy setup.py install for turicreate, since package 'wheel' is not insta
lled.
Installing collected packages: turicreate
Running setup.py install for turicreate ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\user\appdata\local\programs\python\python37\python.exe'
-u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\USER\\App
Data\\Local\\Temp\\pip-install-3vro8s29\\turicreate\\setup.py'"'"'; __file__='"'
"'C:\\Users\\USER\\AppData\\Local\\Temp\\pip-install-3vro8s29\\turicreate\\setup
.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().repla
ce('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exe
c'"'"'))' install --record 'C:\Users\USER\AppData\Local\Temp\pip-record-dm9i0evl
\install-record.txt' --single-version-externally-managed --compile --install-hea
ders 'c:\users\user\appdata\local\programs\python\python37\Include\turicreate'
cwd: C:\Users\USER\AppData\Local\Temp\pip-install-3vro8s29\turicreate\
Complete output (28 lines):
running install
====================================================================
==============
TURICREATE ERROR
If you see this message, pip install did not find an available binar
y package
for your system.
Supported Platforms:
* macOS 10.12+ x86_64.
* Linux x86_64 (including WSL on Windows 10).
Support Python Versions:
* 2.7
* 3.5
* 3.6
* 3.7
Another possible cause of this error is an outdated pip version. Try
:
`pip install -U pip`
====================================================================
==============
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\user\appdata\local\prog
rams\python\python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.ar
gv[0] = '"'"'C:\\Users\\USER\\AppData\\Local\\Temp\\pip-install-3vro8s29\\turicr
eate\\setup.py'"'"'; __file__='"'"'C:\\Users\\USER\\AppData\\Local\\Temp\\pip-in
stall-3vro8s29\\turicreate\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', op
en)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec
(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\USER\AppDa
ta\Local\Temp\pip-record-dm9i0evl\install-record.txt' --single-version-externall
y-managed --compile --install-headers 'c:\users\user\appdata\local\programs\pyth
on\python37\Include\turicreate' Check the logs for full command output.
点子版本
pip 20.1.1
康达版
conda 4.8.2
电脑运行
Windows 8.1
有没有办法在我的 Windows 8.1 PC 上安装 turicreate?