pyqtgraph import error
Verfasst: Donnerstag 6. September 2012, 14:57
Hallo liebe Python-experten,
ich versuche das Python-Modul "pyqtgraph" zu importieren.
Leider erhalte ich ständig folgende Fehlermeldung:
>>> import pyqtgraph
Traceback (most recent call last):
File "<pyshell#9>", line 1, in <module>
import pyqtgraph
File "C:\Python32\lib\site-packages\pyqtgraph\__init__.py", line 129, in <module>
importAll('graphicsItems')
File "C:\Python32\lib\site-packages\pyqtgraph\__init__.py", line 120, in importAll
mod = __import__(path+"."+modName, globals(), locals(), fromlist=['*'])
File "C:\Python32\lib\site-packages\pyqtgraph\graphicsItems\ArrowItem.py", line 2, in <module>
import pyqtgraph.functions as fn
File "C:\Python32\lib\site-packages\pyqtgraph\functions.py", line 30, in <module>
import scipy.weave
File "C:\Python32\lib\site-packages\scipy\weave\__init__.py", line 22, in <module>
from .blitz_tools import blitz
File "C:\Python32\lib\site-packages\scipy\weave\blitz_tools.py", line 6, in <module>
from . import converters
File "C:\Python32\lib\site-packages\scipy\weave\converters.py", line 19, in <module>
c_spec.file_converter(),
File "C:\Python32\lib\site-packages\scipy\weave\c_spec.py", line 74, in __init__
self.init_info()
File "C:\Python32\lib\site-packages\scipy\weave\c_spec.py", line 264, in init_info
self.matching_types = [types.FileType]
AttributeError: 'module' object has no attribute 'FileType'
Dieser Fehler scheint vom Modul Scipy hervorgerufen zu werden.
Ich habe die den pyqtgraph-ordner in den Ordner site-packages kopiert.
Wie kann ich nun diesen Fehler beheben um mit dem Modul arbeiten zu können?
Beste Grüße
Falk
ich versuche das Python-Modul "pyqtgraph" zu importieren.
Leider erhalte ich ständig folgende Fehlermeldung:
>>> import pyqtgraph
Traceback (most recent call last):
File "<pyshell#9>", line 1, in <module>
import pyqtgraph
File "C:\Python32\lib\site-packages\pyqtgraph\__init__.py", line 129, in <module>
importAll('graphicsItems')
File "C:\Python32\lib\site-packages\pyqtgraph\__init__.py", line 120, in importAll
mod = __import__(path+"."+modName, globals(), locals(), fromlist=['*'])
File "C:\Python32\lib\site-packages\pyqtgraph\graphicsItems\ArrowItem.py", line 2, in <module>
import pyqtgraph.functions as fn
File "C:\Python32\lib\site-packages\pyqtgraph\functions.py", line 30, in <module>
import scipy.weave
File "C:\Python32\lib\site-packages\scipy\weave\__init__.py", line 22, in <module>
from .blitz_tools import blitz
File "C:\Python32\lib\site-packages\scipy\weave\blitz_tools.py", line 6, in <module>
from . import converters
File "C:\Python32\lib\site-packages\scipy\weave\converters.py", line 19, in <module>
c_spec.file_converter(),
File "C:\Python32\lib\site-packages\scipy\weave\c_spec.py", line 74, in __init__
self.init_info()
File "C:\Python32\lib\site-packages\scipy\weave\c_spec.py", line 264, in init_info
self.matching_types = [types.FileType]
AttributeError: 'module' object has no attribute 'FileType'
Dieser Fehler scheint vom Modul Scipy hervorgerufen zu werden.
Ich habe die den pyqtgraph-ordner in den Ordner site-packages kopiert.
Wie kann ich nun diesen Fehler beheben um mit dem Modul arbeiten zu können?
Beste Grüße
Falk