【发布时间】:2019-11-25 00:02:14
【问题描述】:
运行“pip install turicreate”,但出现错误。
Python 3.7.3 Ubuntu 18.04
pip install turicreate
Collecting turicreate
Using cached https://files.pythonhosted.org/packages/db/54/167837569bcb816b3fe68f003f18d07ab9d5ac31b2b12b8f9b07b1ccc7a4/turicreate-4.2.tar.gz
Building wheels for collected packages: turicreate
Building wheel for turicreate (setup.py) ... error
Complete output from command /venv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-b9l56kf5/turicreate/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-2550m_rm --python-tag cp37:
running bdist_wheel
running build
installing to build/bdist.linux-x86_64/wheel
running install
==================================================================================
ERROR
If you see this message, pip install did not find an available binary package
for your system. Supported platforms are:
* Linux x86_64 (including WSL on Windows 10).
* macOS 10.12+ x86_64.
* Python 2.7, 3.5, or 3.6.
Other possible causes of this error are:
* Outdated pip version (try `pip install -U pip`).
==================================================================================
----------------------------------------
Failed building wheel for turicreate
Running setup.py clean for turicreate
Failed to build turicreate
Installing collected packages: turicreate
Running setup.py install for turicreate ... error
Complete output from command /venv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-b9l56kf5/turicreate/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-3rpmjewn/install-record.txt --single-version-externally-managed --compile --install-headers /venv/include/site/python3.7/turicreate:
running install
==================================================================================
ERROR
If you see this message, pip install did not find an available binary package
for your system. Supported platforms are:
* Linux x86_64 (including WSL on Windows 10).
* macOS 10.12+ x86_64.
* Python 2.7, 3.5, or 3.6.
Other possible causes of this error are:
* Outdated pip version (try `pip install -U pip`).
==================================================================================
【问题讨论】:
-
从您的错误中:“支持的平台是 ... Python 2.7、3.5 或 3.6”但您使用的是 python 3.7...
-
有什么方法可以安装。或者 turicreate 的任何替代方案? @FlyingTeller
-
一个带有 python 3.6 的虚拟环境怎么样? python 3.7支持参考this github issue
-
@FlyingTeller 当然我会试试的。谢谢
标签: python python-3.x ubuntu-18.04