首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >我无法在Mac M1上安装Turi

我无法在Mac M1上安装Turi
EN

Stack Overflow用户
提问于 2022-05-30 06:44:06
回答 1查看 414关注 0票数 -1

,请帮帮我,

我无法安装Turicreate,我已经参考了https://github.com/apple/turicreate网站

我目前安装了Python3.8.0,这符合系统需求。

我遵循了以下步骤:

代码语言:javascript
复制
pip install virtualenv

然后

代码语言:javascript
复制
# Create a Python virtual environment
cd ~
virtualenv venv

# Activate your virtual environment
source ~/venv/bin/activate

最后

代码语言:javascript
复制
(venv) pip install -U turicreate

我得到了这样的错误信息:

代码语言:javascript
复制
              ==================================================================================
          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]

注意:此错误源于子进程,很可能与pip无关。错误:运行setup.py的子网站的建筑车轮失败,安装了收集的包,安装了所收集的包:图层运行setup.py安装。错误错误:子进程-退出-有错误

为turicreate运行setup.py安装没有成功运行。/Users/samyuktag/venv/lib/python3.9/site-packages/setuptools/command/install.py:34:退出代码:1╰─> 30行输出运行安装SetuptoolsDeprecationWarning: setup.py安装是不推荐的。使用构建、pip和其他基于标准的工具。warnings.warn(

代码语言:javascript
复制
          ==================================================================================
          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]

注意:此错误源于子进程,很可能与pip无关。错误:遗留安装失败

在安装软件包时遇到了错误。╰─> turicreate

注:这是上述软件包的一个问题,而不是pip。提示:有关故障的输出,请参阅上文。警告:您使用的是pip版本22.0.4;但是,可以使用22.1.1版本。您应该考虑通过'/Users/samyuktag/venv/bin/python -m pip -升级pip‘命令进行升级。(virtual_environment_name) (venv) samyuktag@Samyuktas-MacBook-Air ~%

,请帮帮我,

EN

回答 1

Stack Overflow用户

发布于 2022-06-05 09:58:36

这个问题是因为您正在M1上安装它;请参见下面的注释

Unable to install on M1 Mac with Python 3.8.12

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/72430118

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档