我的python版本是2.7.8,底图的版本是basemap-1.0.7.win32-py2.7(exe安装)。我之前安装了很多库,从来没有遇到任何问题。
Traceback (most recent call last):
File "C:\Python27\examples\simpletest.py", line 1, in <module>
from mpl_toolkits.basemap import Basemap
File "C:\Python27\lib\mpl_toolkits\basemap\__init__.py", line 30, in <module>
from mpl_toolkits.basemap import pyproj
File "C:\Python27\lib\mpl_toolkits\basemap\pyproj.py", line 50, in <module>
from mpl_toolkits.basemap import _proj
File "C:\Python27\lib\mpl_toolkits\basemap\_proj.py", line 2, in <module>
ImportError: cannot import name pyproj