qt - Macport-installed python can't find macport-installed sip -


i learning pyqt4 reading rapid gui programming python , qt , @ chapter 7 covers qt designer; qt designer doesn't appear installed macport's (py34-pyqt4) or example code book's website www.qtrac.eu. i'm downloading qt designer www.qt.io.

the straightforward installation (python configure-ng.py, make, make install) hangs on configure step complaining

error: make sure have working sip on path or use --sip argument explicitly specify working sip. 

i hoping macports has sip, , luckily port search sip finds py34-sip. after installing, getting same error, , finding port installed lists py34-sip installed; check default python.

$ python /opt/local/bin/python $ python --version python 3.4.3 $ port contents py34-sip ... /opt/local/bin/sip-3.4 ... 

good, in macports-python34 universe, why isn't python finding py34-sip?

while macport should have been able use own tools, needed help. reading error message , consulting

python configure-ng.py --help  

gave me solution

python configure-ng.py --sip /opt/local/bin/sip-3.4 

which lead successful compilation.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -