python - 从 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
解决方案
推荐阅读
- python - Python列表,将所有值保留在列表的所有子列表中
- redis - Redis key eviction 澄清
- javascript - 加载javascript时如何在vue组件中引用javascript中的img
- arrays - 将数组值批量分配给变量
- git - bitbucket/git 是否为分支和提交提供唯一标识符?
- amazon-web-services - 使用 AWS CDK 和 RDS (Aurora),我可以在哪里更改证书颁发机构?
- php - Foreach 循环仅返回多维数组 PHP 上的第一个索引
- python - Python:全局类类型与实例
- android - 减少 Unity Android 构建大小
- oracle - 执行 COMMIT 期间 Oracle DB 是否真正隔离?