title: Installing hashLib gives SyntaxError: Missing parentheses in call to 'print'
body: <p>I needed a simple hash function for passwords and thought I could use <code>hashlib</code>. PyCharm suggested to install it by running <code>pip install hashLib</code>.</p>
  
  <p>But now PyCharm is complaining about a syntax error in the library:</p>
  
  <pre class="lang-none prettyprint-override"><code>Collecting hashLib
  Using cached https://files.pythonhosted.org/packages/74/bb/9003d081345e9f0451884146e9ea2cff6e4cc4deac9ffd4a9ee98b318a49/hashlib-20081119.zip
  Complete output from command python setup.py egg_info:
  Traceback (most recent call last):
    File "&lt;string&gt;", line 1, in &lt;module&gt;
    File "/private/var/folders/6_/8g1vyy5n1t1859x2d30ssk480000gn/T/pycharm-packaging/hashLib/setup.py", line 68
      print "unknown OS, please update setup.py"
            ^
  SyntaxError: Missing parentheses in call to 'print'. Did you mean print("unknown OS, please update setup.py")?
  
  ----------------------------------------
  
  Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/6_/8g1vyy5n1t1859x2d30ssk480000gn/T/pycharm-packaging/hashLib/
  </code></pre>
  
  <p>It suggests that it may be a problem related to the Python version I am using (I tried with Python 2.7 and Python 3.8, but none of them worked).</p>
  
  <blockquote>
    <p>Make sure that you use a version of Python supported by this package.
    Currently you are using Python 3.8.</p>
  </blockquote>