简体   繁体   中英

Can't find pyside-uic when PySide was installed using Enthought Python and Mac OS X

I installed PySide using:

enpkg pyside

(I'm using Mac OS X)

but I can get pyside-uic

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

How can I have this command available.

 $ 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

I had the same issue with pyside-uic, I finally located it (through the locate command) and found it as pyside-uic-2.7 . Then the command pyside-uic-2.7 -o test.py test.ui worked fine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM