I am trying to install PyQT4 on Python 2.7.9, I am on Mac OS X, so I tried installing it through Homebrew and Macports, unfortunately they did not work.
This is what I tried:
brew install python qt pyqt pyside pyside-tools
also tried:
brew install PyQT4
In Macports:
sudo port install py27-pyqt4
No matter what I did, I was getting this error:
>>>> import PyQT4 Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named PyQT4
What could be the problem? Do I need to set the env path for PyQT?
source share