python - 在 mac os 上 pip install scipy==1.4.1
问题描述
我创建了一个新的虚拟环境,其中没有其他内容,我尝试安装
pip install scipy==1.4.1
但是,这会返回以下错误
ERROR: Failed building wheel for scipy
Failed to build scipy
ERROR: Could not build wheels for scipy which use PEP 517 and cannot be installed directly
这已经通过运行解决了
pip install --upgrade pip
然而,这对我不起作用,我得到与以前相同的错误。但是,如果我尝试安装最新版本的 scipy,则没有问题。有谁知道解决这个问题的方法?也许我需要一个更新版本的python,但我真的不确定。