缺少scipy.misc

2024-04-19 02:07:29 发布

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

我刚刚安装了scipy(通过easy_install scipy),但是由于某种原因scipy.misc丢失了。

看看这个:

>>> import scipy
>>> scipy
<module 'scipy' from '/home/boda/python-2.7.1/lib/python2.7/site-packages/scipy-0.11.0-py2.7-linux-i686.egg/scipy/__init__.pyc'>
>>> scipy.misc
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'misc'

有人知道会发生什么吗?没有scipy.misc的Google结果。我似乎是第一个遇到这种事的人。


Tags: installfromimporthomeegglinuxlibpackages