Mac M1 conda安装python2.7版本

5 篇文章 0 订阅
5 篇文章 0 订阅


http://cncc.bingj.com/cache.aspx?q=conda+python2.7+mac+m1&d=4824953671585155&mkt=zh-CN&setlang=zh-CN&w=BW8ZF1Fg7z2SIssM864p9gWp8xC9yBOw

Not natively. Python 2.7 was sunsetted prior to release of the osx-arm64 platform, so there isn't any such build. One could try requesting such a build on the Conda Forge Python feedstock, but even if someone did that you'd still face the issue that most Python packages will also lack osx-arm64 builds for Python 2.7.

Possibly through Rosetta. Instead, one could try using Apple's x86_64 emulator, Rosetta 2, to run Conda environments with an osx-64 subdir. This could be dicey (not tested - someone needs to buy me a M1 :), but one can create an environment based on other architectures along these lines:

CONDA_SUBDIR=osx-64 conda create -n py27 python=2.7  # include other packages here

# ensure that future package installs in this env stick to 'osx-64'
conda activate py27
conda config --env --set subdir osx-64

评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

sjwbcb

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值