ImportError: cannot import name doccer

醉酒当歌 提交于 2020-01-14 10:19:27

问题


I just installed python xy 2.7.9 on Windows 7. I went to run some previously written code in Spyder which calls:

from scipy.sparse import linalg as sla

However, I get the following error:

File "C:\Python27\lib\site-packages\scipy\sparse\linalg\__init__.py", line 113, in <module>
from .matfuncs import *

File "C:\Python27\lib\site-packages\scipy\sparse\linalg\matfuncs.py", line 20, in <module>
import scipy.misc

File "C:\Python27\lib\site-packages\scipy\misc\__init__.py", line 44, in <module>
from . import doccer

ImportError: cannot import name doccer

Does anyone know how to fix this? I find this weird because it worked with my previous copy of Python (which I uninstalled before installing the new version).

Thanks!

来源:https://stackoverflow.com/questions/30539950/importerror-cannot-import-name-doccer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!