在M1芯片问题上安装TensorFlow。 - packagesNotFoundError:以下包裹无法从当前渠道获得:

发布于 2025-02-04 10:04:26 字数 1186 浏览 4 评论 0 原文

我有一个M1芯片,但是在安装TensorFlow时遇到问题。我尝试了多种不同的方法,但我觉得我完全卡住了。

我正在关注这个特殊的教程-g https:// https:/// besterdataScience.com/install-tensorflow-2-7-on-macbook-pro-m1-pro/ -

但安装时会取消。

这是错误:

packagesNotFoundError:以下包裹无法从当前通道中获得:

  • tensorflow-deps

当前通道:

搜索可能提供您的conda软件包的替代频道 查找,导航到

https://anaconda.org

页面顶部的搜索栏。

请注意,我已经安装了Anaconda,所以它是卸载它的情况吗?我真的很困

谢谢!

I have an M1 chip but am having issues installing Tensorflow. I've tried a number of different methods but I feel im completely stuck.

I was following this particular tutorial - https://betterdatascience.com/install-tensorflow-2-7-on-macbook-pro-m1-pro/ -

but came unstuck when installing.

This is the error:

PackagesNotFoundError: The following packages are not available from current channels:

  • tensorflow-deps

Current channels:

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.

Note I have anaconda already installed so is it a case of uninstalling it? I'm really stuck.

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

幼儿园老大 2025-02-11 10:04:26

我能够在Mac OS上安装TensorFlow而没有任何问题,以下这些步骤

python3 -m venv ~/tensorflow-metal
source ~/tensorflow-metal/bin/activate
python -m pip install -U pip
python -m pip install tensorflow-macos
python -m pip install tensorflow-metal

I could able to install Tensorflow on Mac Os without any issue with these following steps

python3 -m venv ~/tensorflow-metal
source ~/tensorflow-metal/bin/activate
python -m pip install -U pip
python -m pip install tensorflow-macos
python -m pip install tensorflow-metal
_失温 2025-02-11 10:04:26

https://developer.apple.com/forums/thread/thread/697846

> subdir:osx-arm64 to 〜\ .condarc 为我工作。

https://developer.apple.com/forums/thread/697846

adding subdir: osx-arm64 to ~\.condarc worked for me.

我最亲爱的 2025-02-11 10:04:26

“ nofollow noreferrer”> AnswerID = 748166022#748166022

您可能安装了Anaconda的X86_64版本。您需要安装Anaconda的ARM64版本才能找到包装。

https://developer.apple.com/forums/thread/697846?answerId=748166022#748166022

You probably installed the x86_64 version of Anaconda. You need to install the arm64 version of Anaconda for it to find the package.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文