title: Install PyQt4 via conda for caffe model
body: <p>When I try to run the SEC caffe model on from here: <a href="https://github.com/kolesman/SEC" rel="nofollow noreferrer">https://github.com/kolesman/SEC</a></p>
  
  <p>I geht the error: ImportError: No module named PyQt4</p>
  
  <pre><code>python demo.py --model SEC.caffemodel --image /data/out/dataset/center/1475186965759787059.jpg --smooth --output result.png
  Traceback (most recent call last):
    File "demo.py", line 2, in &lt;module&gt;
      import pylab
    File "/home/ec2-user/anaconda2/lib/python2.7/site-packages/pylab.py", line 1, in &lt;module&gt;
      from matplotlib.pylab import *
    File "/home/ec2-user/anaconda2/lib/python2.7/site-packages/matplotlib/pylab.py", line 274, in &lt;module&gt;
      from matplotlib.pyplot import *
    File "/home/ec2-user/anaconda2/lib/python2.7/site-packages/matplotlib/pyplot.py", line 114, in &lt;module&gt;
      _backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
    File "/home/ec2-user/anaconda2/lib/python2.7/site-packages/matplotlib/backends/__init__.py", line 32, in pylab_setup
      globals(),locals(),[backend_name],0)
    File "/home/ec2-user/anaconda2/lib/python2.7/site-packages/matplotlib/backends/backend_qt5agg.py", line 16, in &lt;module&gt;
      from .backend_qt5 import QtCore
    File "/home/ec2-user/anaconda2/lib/python2.7/site-packages/matplotlib/backends/backend_qt5.py", line 31, in &lt;module&gt;
      from .qt_compat import QtCore, QtGui, QtWidgets, _getSaveFileName, __version__
    File "/home/ec2-user/anaconda2/lib/python2.7/site-packages/matplotlib/backends/qt_compat.py", line 137, in &lt;module&gt;
      from PyQt4 import QtCore, QtGui
  ImportError: No module named PyQt4
  </code></pre>
  
  <p><a href="https://stackoverflow.com/questions/21637922/how-to-install-pyqt4-in-anaconda">In this stackoverflow thread</a> they just mention that you can run </p>
  
  <pre><code>conda install pyqt
  </code></pre>
  
  <p>which results in the following output:</p>
  
  <pre><code>conda install pyqt
  Fetching package metadata .......
  Solving package specifications: ..........
  
  # All requested packages already installed.
  # packages in environment at /home/ec2-user/anaconda2:
  #
  pyqt                      5.6.0                    py27_0 
  </code></pre>
  
  <p>Which indicates that I have version 5.6 and not version 4. But I could not find any solution how to downgrade to pyqt4.</p>