我有python,如中所示
which python
并且
➜ ~ brew install qt
Warning: qt-4.8.6 already installed
➜ ~ brew install pyqt
Warning: pyqt-4.10.4 already installed
但后来我尝试在我的 OSX 上运行:
➜ ~ bzr explorer
并得到这个错误:
invalid syntax (<string>, line 1)
Unable to load u'bzr-explorer' in u'/Users/me/.bazaar/plugins' as a plugin because the file path isn't a valid module name; try renaming it to u'explorer'.
bzr: ERROR: No module named PyQt4
You may need to install this Python library separately.