title: Installing hachoir-metadata throws exception
body: <p>I am trying to install the package <code>hachoir-metadata</code> using <code>pip</code>:</p>
  
  <blockquote>
    <p>pip install hachoir-metadata</p>
  </blockquote>
  
  <p>After executing the above command, I got the error</p>
  
  <blockquote>
    <p>C:\Users\Dimitar>pip install hachoir-metadata Downloading/unpacking
    hachoir-metadata   Running setup.py
    (path:C:\Users\Dimitar\AppData\Local\Temp\pip_build_Dimitar\h
    achoir-metadata\setup.py) egg_info for package hachoir-metadata
        Traceback (most recent call last):
          File "", line 17, in 
          File "C:\Users\Dimitar\AppData\Local\Temp\pip_build_Dimitar\hachoir-metada
    ta\setup.py", line 65
            except OSError, err:
                          ^
        SyntaxError: invalid syntax
        Complete output from command python setup.py egg_info:
        Traceback (most recent call last):</p>
    
    <p>File "", line 17, in </p>
    
    <p>File
    "C:\Users\Dimitar\AppData\Local\Temp\pip_build_Dimitar\hachoir-metadata\s
    etup.py", line 65</p>
  
  <pre><code>except OSError, err:
  
                ^
  </code></pre>
    
    <p>SyntaxError: invalid syntax</p>
  </blockquote>
  
  <p>The downloaded file is the correct one from Pypi. From the log:</p>
  
  <blockquote>
    <p>Using version 1.3.3 (newest of versions: 1.3.3, 1.3.2, 1.3.1, 1.3,
    1.2.1, 1.2, 1.1, 1.0.1, 1.0)
    Downloading from URL <a href="https://pypi.python.org/packages/source/h/hachoir-metadata/hachoir-metadata-1.3.3.tar.gz#md5=26e04a2395205d31469fc2d6935055a9" rel="nofollow">https://pypi.python.org/packages/source/h/hachoir-metadata/hachoir-metadata-1.3.3.tar.gz#md5=26e04a2395205d31469fc2d6935055a9</a>
    (from <a href="https://pypi.python.org/simple/hachoir-metadata/" rel="nofollow">https://pypi.python.org/simple/hachoir-metadata/</a>)</p>
  </blockquote>
  
  <p>I've opened the file hachoir-metadata\setup.py to see what's wrong on line 65:</p>
  
  <pre><code>    command = ["pyuic4", "-o", dialog_python, dialog + ".ui"]
      try:
          exitcode = call(command)
      except OSError, err:
          exitcode = 1
  </code></pre>
  
  <p>But the above lines can't tell me anything more since I'm using Python for 1 hour. My guess is that I'm missing some other packages, which needs to be installed prior installing this hachoir-metadata? Thanks in advance.</p>