Miniconda无法在其中安装Python 3.7(Macos Monterey M1芯片)创建环境
我正在尝试在Mincoda中创建一个与Python 3.7在我的MacBook Air(Macos Monterey Apple M1芯片)中创建的
环境
如下
, 从当前的渠道:
- Python = 3.7
我尝试过Conda-Forge,并且有同样的错误
,我知道这是因为M1芯片,我可能必须创建OSX-64环境,但是有什么简单的方法可以做到吗?
我的需要是在其中创建一个带有python 3.7的Miniconda环境。
I am trying to create an environment in miniconda with python 3.7 in my macbook air(macOS Monterey Apple M1 chip) as below,
conda create --new newenv python=3.7
However I get the below error-
PackagesNotFoundError: The following packages are not available from current channels:
- python=3.7
I have tried conda-forge and got the same error
I understand that this is because of the M1 chip and I have to maybe create osx-64 environment, but is there any easy way to do it?
My need is to create a miniconda environment with python 3.7 in it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当我使用MBP(14英寸,M1 Pro芯片)创建Anaconda环境(Python 3.7)时,我遇到了同样的问题。
但是,当我更改为Python 3.8并使用
conda-forge
频道(添加-c
参数为conda-forge
)时,它起作用了!命令如下:
conda create -n env -c conda -forge python = 3.8
我认为也许python 3.7不再受m芯片的支持。
I got the same problem when I used my MBP (14 inch, M1 Pro chip) to create an Anaconda environment (python 3.7).
However when I changed to python 3.8 and used the
conda-forge
channel (added the-c
argument toconda-forge
), it worked!The command is as follows:
conda create -n env -c conda-forge python=3.8
I think maybe python 3.7 is no longer supported by m chips.