【问题标题】:Can't find pyside-uic when PySide was installed using Enthought Python and Mac OS X使用 Enthought Python 和 Mac OS X 安装 PySide 时找不到 pyside-uic
【发布时间】:2014-07-06 08:47:18
【问题描述】:

我使用以下方式安装了 PySide:

enpkg pyside

(我使用的是 Mac OS X)

但我可以得到pyside-uic

$ pyside-uic
bash: pyside-uic: command not found

我怎样才能让这个命令可用。

 $ which python
 /Library/Frameworks/EPD64.framework/Versions/Current/bin/python

 $ which enpkg
 /Library/Frameworks/EPD64.framework/Versions/Current/bin/enpkg

 $ python --version
 Python 2.7.3 -- EPD 7.3-2 (64-bit)

 $ enpkg --version
 enstaller version: 4.6.4

【问题讨论】:

  • which python,which enpkg的输出是什么?

标签: python macos qt pyside enthought


【解决方案1】:

我在 pyside-uic 上遇到了同样的问题,我终于找到了它(通过 locate 命令)并发现它是 pyside-uic-2.7 。然后命令pyside-uic-2.7 -o test.py test.ui 工作正常。

【讨论】:

    猜你喜欢
    • 2011-02-22
    • 1970-01-01
    • 1970-01-01
    • 2011-05-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多