Hello all,
I have downloaded PyQt4 and have been able to use it without any issues in Idle. However, when I am trying to execute a command in terminal, I am receiving the error
ImportError: No module named PyQt4
ImportError: No module named PyQt4
To copy to clipboard, switch view to plain text mode
I have Qt 5.5.1 and am receiving the following error in terminal
User-MacBook-Pro:Python $ which python
/Library/Frameworks/Python.framework/Versions/2.7/bin/python
User-MacBook-Pro:Python $ pyuic4 Print.ui>Print_ui.py
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyQt4/uic/pyuic.py", line 26, in <module>
from PyQt4 import QtCore
ImportError: No module named PyQt4
User-MacBook-Pro:Python $ which python
/Library/Frameworks/Python.framework/Versions/2.7/bin/python
User-MacBook-Pro:Python $ pyuic4 Print.ui>Print_ui.py
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyQt4/uic/pyuic.py", line 26, in <module>
from PyQt4 import QtCore
ImportError: No module named PyQt4
To copy to clipboard, switch view to plain text mode
Any help would be appreciated
Bookmarks