不支持hdf5(请安装/重新安装h5py)不支持Scipy!导入TFLearn时?

2024-05-14 19:12:21 发布

您现在位置:Python中文网/ 问答频道 /正文

我得到这个错误:

hdf5 not supported (please install/reinstall h5py)
Scipy not supported!

当我试图导入tflearn时。我认为由于这个问题,我的TFLearn代码不能正常工作?


Tags: install代码错误notscipyhdf5supportedplease
3条回答

下载这个链接中的h5py和curses包http://www.lfd.uci.edu/~gohlke/pythonlibs/,并在cmd中执行 pip安装文件名 文件必须存在于C:\文件夹中才能执行,希望它能解决问题。

你也有同样的问题:

  • hdf5 not supported
    • 您可以重新安装hdf5来解决
  • Scipy not supported!
    • 首先,您应该安装numy+mkl,安装成功后,请尝试导入tflearn
    • 如果再次出现错误,可以重新安装Scipy

这是我的解决办法。

enter image description here

几分钟前,我遇到了同样的问题,您几乎只需要使用当前环境的包管理器重新安装h5py。

http://docs.h5py.org/en/latest/build.html

相关问题 更多 >

    热门问题