无法安装h5py [英] Can't install h5py

查看:89
本文介绍了无法安装h5py的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 Windows10 64 位、Python 3.8.5、Pip 20.2.4 上运行 h5py.

I am trying to h5py on Windows10 64bit, Python 3.8.5, Pip 20.2.4.

使用这个命令

pip install h5py

但这会引发错误

ERROR: Could not build wheels for h5py which use PEP 517 and cannot be installed directly

看起来这是 pep 517 和其他软件包的众所周知的问题,所以我尝试检查所有解决方案,例如

Looks like it's quite known issue for pep 517 and other packages, so i try to check all of the solutions like

pip install --no-use-pep517 h5py
pip install --no-binary h5py

但没有任何效果.如何安装 h5py?

But nothing works. How can I install h5py?

推荐答案

找到了解决方案 - 我试图在 Python3.8.5 32 位上安装.切换到 64 位刚好解决了这个问题.

Found a solution - I was trying to install on Python3.8.5 32bit. Switching to 64bit just solved the issue.

我看到最新版本不支持win 32,查看这个:github.com/h5py/h5py/issues/1753

I saw that the latest version doesn't support win 32, check this: github.com/h5py/h5py/issues/1753

这篇关于无法安装h5py的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆