ModuleNotFoundError: No module named h5py

在尝试安装Python库h5py时遇到版本不匹配的错误。使用阿里云镜像`pipinstallh5py--index-url=http://mirrors.aliyun.com/pypi/simple/--trusted-hostmirrors.aliyun.com`进行安装,此方法适用于解决因网络或版本问题导致的安装失败。更新pip后问题未解决,也可尝试使用中国科技大学的镜像源。
摘要由CSDN通过智能技术生成

ERROR: Could not find a version that satisfies the requirement h5py (from versions: none)
ERROR: No matching distribution found for h5py

用阿里云下载

pip install h5py gdown -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com

安装其他包出现这种Could not find a version that satisfies the requirement报错,也用镜像下载可以解决

其他镜像还可以选择

中国科技大学 Simple Indexicon-default.png?t=N176https://pypi.mirrors.ustc.edu.cn/simple/

试了更新pip后再装的方法,没有用。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值