jav*_*dba 5 python numpy scipy
我已安装(实际重新安装)scipy:
10_x86_64.whl (19.8MB): 19.8MB downloaded
Installing collected packages: scipy
Successfully installed scipy
Run Code Online (Sandbox Code Playgroud)
但misc子包显然不包括在内?
16:03:28/shared $ipython
In [1]: from scipy.misc import imread
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-f9d3d927b58f> in <module>()
----> 1 from scipy.misc import imread
ImportError: cannot import name imread
Run Code Online (Sandbox Code Playgroud)
安装scipy.misc包的方法是什么?
max*_*moo 12
我认为你也需要安装PIL.来自scipy.misc文档:
请注意,Python Imaging Library(PIL)不是SciPy的依赖项,因此pilutil模块在没有安装PIL的系统上不可用.