title: PyQt4 Import Error
body: <p>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</p>
  
  <pre><code>ImportError: No module named PyQt4
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/XV9PJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XV9PJ.png" alt="enter image description here"></a></p>
  
  <p>The code I ran is the following:</p>
  
  <pre><code>User-MacBook-Pro:Python $ which python
  /Library/Frameworks/Python.framework/Versions/2.7/bin/python
  User-MacBook-Pro:Python $ pyuic4 Print.ui&gt;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 &lt;module&gt;
      from PyQt4 import QtCore
  ImportError: No module named PyQt4
  </code></pre>
  
  <p>I would love to get some guidance on this issue.</p>
  
  <p>Thank you</p>