【问题标题】:why I cannot run bzr explorer为什么我不能运行 bzr explorer
【发布时间】:2014-07-27 13:56:26
【问题描述】:

我有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.

【问题讨论】:

    标签: python macos bazaar bzr-svn


    【解决方案1】:

    您的 Bazaar Explorer 插件似乎安装在 /Users/me/.bazaar/plugins/bzr-explorer 中。将该目录重命名为/Users/me/.bazaar/plugins/explorer,然后它应该可以工作。 (正如错误消息试图告诉你的那样。)

    顺便说一句,我建议使用官方网站上的dmg 文件(http://wiki.bazaar.canonical.com/MacOSXDownloads)。 Bazaar Explorer 包含在其中,应该可以开箱即用。

    【讨论】:

      猜你喜欢
      • 2011-09-30
      • 1970-01-01
      • 1970-01-01
      • 2020-10-18
      • 2016-08-15
      • 1970-01-01
      • 1970-01-01
      • 2020-06-10
      • 2011-03-23
      相关资源
      最近更新 更多