首页 > 解决方案 > 从 MacOS 安装 python (scipy) 包

问题描述

我正在尝试在我的 Windows 机器上安装一个分叉版本的 scipy。分叉版本在 macos 上。所以我在 conda 中创建了一个美德环境。并没有pip install git+https:... 失败并出现错误:Could not build wheels for scipy which use PEP 517 and cannot be installed directly

所以我尝试下载 Repo 并python setup.py install --user改为这样做。这会因 gfortran 错误而失败:unrecognized command-line option '-mno-cygwin': did you mean '-mno-clwb' error command "...gfortran.exe -wall -g -ffixed-form -fno-secon-underscore -mno-cygwin ....."failed with exit status 1

我将 Msys2-Terminal 设置为 scipy-repo 提供的 - 甚至是 openblas-stuff。我错过了什么还是有更简单的解决方案?

gfortran --version GNU Fortran 10.1.0 by MSYS2

make --version GNU make 4.3 built for x86-64-pc-cygwin

gcc --verison GNU 10.1.0

标签: pythonscipyconda

解决方案


推荐阅读