matplotlibwidget安装问题

时间:2014-01-20 21:13:10

标签: python-2.7 matplotlib

我有一个奇怪的问题。我正在使用python 2.7开发的程序(不是我)。该软件使用matplotlib,我安装得很好。但不知怎的,我仍然得到这个错误。任何人都知道要检查什么?

Traceback (most recent call last):
  File "C:\Daten\R&D\Labor\pyLogger_RS485\GUI_MasterLogger.py", line 460, in <module>
    mainwindow = MainWindow()
  File "C:\Daten\R&D\Labor\pyLogger_RS485\GUI_MasterLogger.py", line 26, in __init__
    self.initUI()
  File "C:\Daten\R&D\Labor\pyLogger_RS485\GUI_MasterLogger.py", line 56, in initUI
    self.ui = uic.loadUi('uiGUI_TCCO2_MasterLogger.ui')
  File "C:\Python27\lib\site-packages\PyQt4\uic\__init__.py", line 238, in loadUi
    return DynamicUILoader(package).loadUi(uifile, baseinstance, resource_suffix)
  File "C:\Python27\lib\site-packages\PyQt4\uic\Loader\loader.py", line 71, in loadUi
    return self.parse(filename, resource_suffix, basedir)
  File "C:\Python27\lib\site-packages\PyQt4\uic\uiparser.py", line 951, in parse
    actor(elem)
  File "C:\Python27\lib\site-packages\PyQt4\uic\uiparser.py", line 790, in createUserInterface
    self.traverseWidgetTree(elem)
  File "C:\Python27\lib\site-packages\PyQt4\uic\uiparser.py", line 768, in traverseWidgetTree
    handler(self, child)
  File "C:\Python27\lib\site-packages\PyQt4\uic\uiparser.py", line 242, in createWidget
    self.traverseWidgetTree(elem)
  File "C:\Python27\lib\site-packages\PyQt4\uic\uiparser.py", line 768, in traverseWidgetTree
    handler(self, child)
  File "C:\Python27\lib\site-packages\PyQt4\uic\uiparser.py", line 242, in createWidget
    self.traverseWidgetTree(elem)
  File "C:\Python27\lib\site-packages\PyQt4\uic\uiparser.py", line 768, in traverseWidgetTree
    handler(self, child)
  File "C:\Python27\lib\site-packages\PyQt4\uic\uiparser.py", line 242, in createWidget
    self.traverseWidgetTree(elem)
  File "C:\Python27\lib\site-packages\PyQt4\uic\uiparser.py", line 768, in traverseWidgetTree
    handler(self, child)
  File "C:\Python27\lib\site-packages\PyQt4\uic\uiparser.py", line 233, in createWidget
    self.stack.push(self.setupObject(widget_class, parent, elem))
  File "C:\Python27\lib\site-packages\PyQt4\uic\uiparser.py", line 194, in setupObject
    obj =  self.factory.createQObject(clsname, name, args, is_attribute)
  File "C:\Python27\lib\site-packages\PyQt4\uic\objcreator.py", line 106, in createQObject
    factory = self.findQObjectType(classname)
  File "C:\Python27\lib\site-packages\PyQt4\uic\objcreator.py", line 131, in findQObjectType
    w = module.search(classname)
  File "C:\Python27\lib\site-packages\PyQt4\uic\Loader\qobjectcreator.py", line 107, in search
    module = __import__(mname, {}, {}, (cls,))
ImportError: No module named matplotlibwidget

提前致谢, 翁

0 个答案:

没有答案