RuntimeError bei Basemap Toolkit Import
Verfasst: Mittwoch 11. Juli 2012, 15:48
Hallo,
ich habe das toolkit Basemap (1.0.4) über YaST (Suse 12.1) installiert, bekomme aber, wenn ich es in Python (2.7.2) importieren möchte, folgenden Felher:
Habe auch schon eine Installation per Hand versucht wie auf http://matplotlib.github.com/basemap/us ... lling.html beschrieben. Aber auch da gabs den gleichen Fehler.
Was ist das Problem?
Bin dankbar für alle Hinweise!
ich habe das toolkit Basemap (1.0.4) über YaST (Suse 12.1) installiert, bekomme aber, wenn ich es in Python (2.7.2) importieren möchte, folgenden Felher:
Code: Alles auswählen
>>> from mpl_toolkits.basemap import Basemap
RuntimeError: module compiled against API version 7 but this version of numpy is 6
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python2.7/site-packages/mpl_toolkits/basemap/__init__.py", line 26, in <module>
from matplotlib.collections import LineCollection
File "/usr/lib64/python2.7/site-packages/matplotlib/collections.py", line 23, in <module>
import matplotlib.backend_bases as backend_bases
File "/usr/lib64/python2.7/site-packages/matplotlib/backend_bases.py", line 37, in <module>
import matplotlib.widgets as widgets
File "/usr/lib64/python2.7/site-packages/matplotlib/widgets.py", line 17, in <module>
from lines import Line2D
File "/usr/lib64/python2.7/site-packages/matplotlib/lines.py", line 23, in <module>
from matplotlib.font_manager import FontProperties
File "/usr/lib64/python2.7/site-packages/matplotlib/font_manager.py", line 53, in <module>
from matplotlib import ft2font
ImportError: numpy.core.multiarray failed to import
Was ist das Problem?
Bin dankbar für alle Hinweise!