【问题标题】:Error installing Turicreate on ubuntu python 3.8.2 on pip在 pip 上的 ubuntu python 3.8.2 上安装 Turicreate 时出错
【发布时间】:2023-03-18 06:05:01
【问题描述】:
   ==================================================================================
        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


        Another possible cause of this error is an outdated pip version. Try:
            `pip install -U pip`

        ==================================================================================

这是我在输入命令“pip install turicreate”后收到的消息。

我正在使用 ubuntu 20.4 并在我的系统上安装了 python 3.8.2

【问题讨论】:

    标签: python-3.8 ubuntu-20.04 turi-create


    【解决方案1】:

    Turicreate 还不支持 Python 3.8。您必须使用较早的 Python 版本(例如 3.7)才能使 turicreate 正常工作。

    【讨论】:

      【解决方案2】:

      您可以使用任何受支持的版本创建虚拟环境,然后安装 turicreate。它在 Ubuntu 20.04 和 Ubuntu 16.04 上运行良好,是使用 turicreate 的一个很好的替代方案,只要不添加 python3.8 支持。

      安装任何支持的python版本并记下它的安装路径(安装文件夹通常是/usr/bin/,但可能会有所不同)。使用pip install virtualenv 安装 virtualenv。导航到您的项目,然后使用 virtualenv -p /path/to/python/installation venv 在项目文件夹中创建虚拟环境。

      我用 python3.6 创建了它,所以对我来说它是virtualenv -p /usr/bin/python3.6 venv。然后通过输入source venv/bin/activate 激活新的虚拟环境。使用python --version检查python版本。

      然后继续安装 turicreate。

      完成工作后,使用deactivate 命令停用虚拟环境

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2017-10-20
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2022-11-15
        相关资源
        最近更新 更多