Ubuntu22.04+Python3.10环境下TuriCreate安装失败求助
安装TuriCreate失败:Python 3.10版本不兼容问题
环境配置
- 系统:Ubuntu 22.04.3 LTS
- Python版本:3.10.12
- pip版本:24.0
- 已更新setuptools与wheel至最新版本
执行pip install turicreate时出现构建wheel失败的错误,错误提示明确指出TuriCreate支持的Python版本为2.7、3.5-3.8,未适配Python 3.10。完整错误日志如下:
(venv) colter@MSI:~$ pip install turicreate Collecting turicreate Using cached turicreate-6.4.tar.gz (1.9 kB) Preparing metadata (setup.py) ... done Building wheels for collected packages: turicreate Building wheel for turicreate (setup.py) ... error error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [44 lines of output] running bdist_wheel running build /home/colter/venv/lib/python3.10/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() installing to build/bdist.linux-x86_64/wheel running install ================================================================================== TURICREATE ERROR If you see this message, pip install did not find an available binary 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 * 3.8 Another possible cause of this error is an outdated pip version. Try: `pip install -U pip` ================================================================================== [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for turicreate Running setup.py clean for turicreate Failed to build turicreate ERROR: Could not build wheels for turicreate, which is required to install pyproject.toml-based projects
恳请各位提供技术支持,谢谢!
内容的提问来源于stack exchange,提问作者Colter Mahlum
相关产品推荐
相关产品推荐

