python - How do I check that PyQt5 is installed correctly on Mac? -
i've followed instructions on:
http://danmarner.com/2014/04/23/installing-pyqt5-with-python-3-on-os-x.html
to first install sip according instructions found at:
http://pyqt.sourceforge.net/docs/sip4/installation.html
and pyqt5 following instructions found here:
http://pyqt.sourceforge.net/docs/pyqt5/installation.html
and brew install qt5
but when run first example pyqt-gpl-5.3.2/examples/tutorials/addressbook/part1.py
fails following:
traceback (most recent call last): file "examples/tutorials/addressbook/part1.py", line 45, in <module> pyqt5.qtcore import qt importerror: no module named pyqt5.qtcore
i'm running mavericks 10.9.5 , python 2.7.5
it doesn't seem it's installed correctly, or if python can't find it. i'm not sure how proceed suggestions appreciated!
the issue resolved adding /usr/local/lib/python2.7/site-packages
pythonpath. comments found here:
https://stackoverflow.com/a/13103438/1729686
and @kash , @qqvc suggestions!
Comments
Post a Comment