matplotlib und numpy
Verfasst: Mittwoch 4. Januar 2017, 14:07
Hallo,
bin mir nicht sicher, in welche Kategorie dieses Thema passt, hoffe hier ist okay.
Seit einem numpy update, bekomme ich folgenden Fehler, wenn ich matplotlib nutzen möchte:
RuntimeError: module compiled against API version 0xa but this version of numpy is 0x9
Traceback (most recent call last):
File "test.py", line 1, in <module>
import matplotlib.pyplot as plt
File "/usr/lib64/python2.7/site-packages/matplotlib/pyplot.py", line 29, in <module>
import matplotlib.colorbar
File "/usr/lib64/python2.7/site-packages/matplotlib/colorbar.py", line 32, in <module>
import matplotlib.artist as martist
File "/usr/lib64/python2.7/site-packages/matplotlib/artist.py", line 14, in <module>
from .transforms import (Bbox, IdentityTransform, TransformedBbox,
File "/usr/lib64/python2.7/site-packages/matplotlib/transforms.py", line 39, in <module>
from matplotlib._path import (affine_transform, count_bboxes_overlapping_bbox,
ImportError: numpy.core.multiarray failed to import
Googlen hat ergeben, dass das ein typischer Fehler zu sein scheint, aber ich konnte dort nichts finden, was mir weiter geholfen hätte.
Bei der numpy Version, die automatisch mit der Installation von openSuse kam, hatte ich vorher keine Probleme.
Dann habe ich ein zusätzliches Programm installiert und diese Fehlermeldung erhalten, deswegen hatte ich es mit einem Update von numpy versucht. Jetzt kann ich matplotlib leider allgemein gar nicht mehr nutzen (schon import scheitert). Welche Version ich vorher hatte weiß ich leider nicht mehr sicher, ich dachte es sei 1.8 gewesen, habe jetzt deswegen diese installiert, aber es das hat nichts geändert.
Mit numpy kann ich weiterhin problemlos arbeiten.
Hatte jmd dieses Problem schon mal? (konnte kein ähnliches Thema finden, falls doch entschuldigt bitte)
Ich nutze python 2.7
bin mir nicht sicher, in welche Kategorie dieses Thema passt, hoffe hier ist okay.
Seit einem numpy update, bekomme ich folgenden Fehler, wenn ich matplotlib nutzen möchte:
RuntimeError: module compiled against API version 0xa but this version of numpy is 0x9
Traceback (most recent call last):
File "test.py", line 1, in <module>
import matplotlib.pyplot as plt
File "/usr/lib64/python2.7/site-packages/matplotlib/pyplot.py", line 29, in <module>
import matplotlib.colorbar
File "/usr/lib64/python2.7/site-packages/matplotlib/colorbar.py", line 32, in <module>
import matplotlib.artist as martist
File "/usr/lib64/python2.7/site-packages/matplotlib/artist.py", line 14, in <module>
from .transforms import (Bbox, IdentityTransform, TransformedBbox,
File "/usr/lib64/python2.7/site-packages/matplotlib/transforms.py", line 39, in <module>
from matplotlib._path import (affine_transform, count_bboxes_overlapping_bbox,
ImportError: numpy.core.multiarray failed to import
Googlen hat ergeben, dass das ein typischer Fehler zu sein scheint, aber ich konnte dort nichts finden, was mir weiter geholfen hätte.
Bei der numpy Version, die automatisch mit der Installation von openSuse kam, hatte ich vorher keine Probleme.
Dann habe ich ein zusätzliches Programm installiert und diese Fehlermeldung erhalten, deswegen hatte ich es mit einem Update von numpy versucht. Jetzt kann ich matplotlib leider allgemein gar nicht mehr nutzen (schon import scheitert). Welche Version ich vorher hatte weiß ich leider nicht mehr sicher, ich dachte es sei 1.8 gewesen, habe jetzt deswegen diese installiert, aber es das hat nichts geändert.
Mit numpy kann ich weiterhin problemlos arbeiten.
Hatte jmd dieses Problem schon mal? (konnte kein ähnliches Thema finden, falls doch entschuldigt bitte)
Ich nutze python 2.7