chr*_*ian 1 python windows pip h5py pep517
我正在尝试在 Windows10 64 位、Python 3.8.5、Pip 20.2.4 上运行 h5py。
用过这个命令
pip install h5py
Run Code Online (Sandbox Code Playgroud)
但这会引发错误
ERROR: Could not build wheels for h5py which use PEP 517 and cannot be installed directly
Run Code Online (Sandbox Code Playgroud)
看起来这是 pep 517 和其他软件包的众所周知的问题,所以我尝试检查所有解决方案,例如
pip install --no-use-pep517 h5py
pip install --no-binary h5py
Run Code Online (Sandbox Code Playgroud)
但没有任何作用。如何安装h5py?
小智 8
安装 versioned-hdf5 将解决这个问题。
pip install versioned-hdf5
Run Code Online (Sandbox Code Playgroud)
现在做 pip install h5py
找到了解决方案 - 我试图在 Python3.8.5 32 位上安装。切换到64位刚刚解决了这个问题。
我看到最新版本不支持win 32,检查一下:github.com/h5py/h5py/issues/1753
| 归档时间: |
|
| 查看次数: |
6140 次 |
| 最近记录: |