Anaconda并升级到新的M1 Mac [英] Anaconda and upgrading to new M1 Mac

查看:194
本文介绍了Anaconda并升级到新的M1 Mac的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚有一台新的M1 mac mini开发机,并使用苹果的迁移助手从旧的x86 mac上进行了迁移.

I've just got a new M1 mac mini dev machine, and migrated from my old x86 mac using apple's migration assistant.

这样做还可以将我的所有conda环境复制到新机器上(它们都在我的主目录中)

Doing that also copied over all my conda environments to the new machine (they were all in my home directory)

我安装了最新版本的anaconda和anaconda,以及我的所有python代码和环境似乎都可以正常工作(这包括许多wheel模块,尤其是numpy/scipy).

I installed the latest version of anaconda and anaconda plus all my python code and environments seem to work fine (this includes a bunch of wheel modules, notably numpy/scipy).

我在下面的问题中做了很多搜索,但是在任何地方都找不到任何好的答案-所以我想问一下,因为这似乎是其他人会遇到的非常普遍的情况

  • 有人知道conda forge提供的M1原生python/numpy/scipy等的状态吗?
  • 我假设python/numpy等环境中的所有二进制文件仍然都是旧的x86版本,因为它们都在我的主目录中的环境中,并且通过仿真运行.因此,如何将这些更改/更新为本地M1手臂版本(如果有)?

推荐答案

答案将随着时间的推移而发展,因此,这是我截至2021年1月27日的最新知识.

The answer here is going to evolve over time, so here is the most up-to-date knowledge I have as of 27 Jan 2021.

在仿真模式下安装conda完全可以.您需要做的就是将其安装在以仿真模式运行的终端中,或者使用尚未移植的终端仿真器进行安装.

Installing conda in emulation mode works completely fine. All you need to do is to install it in a Terminal run in emulation mode, or else install it using a Terminal emulator that has not been ported over yet.

一旦您的conda环境启动并运行,其他一切看起来和感觉就像在x86 Mac上一样.

Once your conda environments are up and running, everything else looks and feels like it did on x86 Macs.

如果您需要更多详细信息,请关于我的经历的博客.希望它对您有帮助.

If you'd like a bit more detail, I blogged about my experience. Hopefully it helps you here.

这篇关于Anaconda并升级到新的M1 Mac的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆