在学习机器学习的时候,我使用了anaconda并自己创建了一个环境,在Prompt激活该环境,并输入jupyter notebook,并运行机器学习程序,结果出现以下错误。
ImportError Traceback (most recent call last)
<ipython-input-3-05f9803d8eb1> in <module>
1 import numpy as np
2 import matplotlib.pyplot as plt
----> 3 import h5py
4 import scipy
5 from PIL import Image
C:\ProgramData\Anaconda3\lib\site-packages\h5py\__init__.py in <module>
34 _errors.silence_errors()
35
---> 36 from ._conv import register_converters as _register_converters
37 _register_converters()
38
h5py\h5r.pxd in init h5py._conv()
h5py\_objects.pxd in init h5py.h5r()
h5py\_objects.pyx in init h5py._objects()
ImportError: DLL load failed: 找不到指定的程序。
注:我的环境是装在系统用户名目录下
我一开始以为h5py没安装好,于是打开pycharm测试
上网查找解决方案:
Usually that indicates that the noteboo