title: Command "python setup.py egg_info" failed with error code 1 when installing 'pattern
body: <p>Am trying to install pattern on python 3.6 with the command prompt using:</p>
  
  <pre><code>pip3 install pattern
  </code></pre>
  
  <p>But am getting this error :</p>
  
  <pre><code>C:\WINDOWS\system32&gt;pip3 install pattern
  Collecting pattern
    Using cached pattern-2.6.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 "C:\Users\HP\AppData\Local\Temp\pip-build-u_5lhmfa\pattern\setup.py", line 40
          print n
                ^
      SyntaxError: Missing parentheses in call to 'print'. Did you mean print(int n)?
  
      ----------------------------------------
  Command "python setup.py egg_info" failed with error code 1 in C:\Users\HP\AppData\Local\Temp\pip-build-u_5lhmfa\pattern\
  </code></pre>
  
  <p>By the way I have Python 2.7 installed as well and when I installed with <code>pip2 install pattern</code>, it perfectly installed.</p>
  
  <p>The problem is with python 3.6. How can I fix this?</p>