PyQt4 on Mavericks with python 3

前端 未结 1 376
一生所求
一生所求 2021-01-01 06:08

I have made a python application in Xubuntu that I am currently trying to run on Mavericks. The project uses PyQt4 for it\'s GUI portion. I am currently trying to install Py

相关标签:
1条回答
  • 2021-01-01 06:45

    After a lot of blood, sweat and tears I have put together a full complete list of installing pyqt on mavericks using python 3:

    brew install python3
    brew install qt
    brew install sip --with-python3
    brew install pyqt --with-python3
    

    Add this to your .bash_profile:

    PYTHONPATH=/usr/local/lib/python3.3/site-packages:$PYTHONPATH
    

    Restart your computer.

    0 讨论(0)
提交回复
热议问题