title: SyntaxError: invalid syntax in conda
body: <p>Now I am not able to run conda or any other programme installed through conda and getting this error : "SyntaxError: invalid syntax"</p>
  
  <p>I have conda installed in my computer(Ubuntu 16.04) with python 2.7 and 3.6.7 (two different virtual environments). Recently I upgraded pip to the latest version. And the the problem began. Initially I faced "Import error". I fixed it by reverting back (uninstall-reinstall) to the older version as suggested here: <a href="https://stackoverflow.com/questions/49836676/error-after-upgrading-pip-cannot-import-name-main">Error after upgrading pip: cannot import name &#39;main&#39;</a></p>
  
  <p>Now I am unable to run pip, conda or anyother programme installed through conda.</p>
  
  <p>This is what I get when I call conda:</p>
  
  <pre class="lang-none prettyprint-override"><code>(base) mml2@ryzenpc:~$ conda
  Traceback (most recent call last):
    File "/home/mml2/miniconda2/bin/conda", line 12, in &lt;module&gt;
      from conda.cli import main
    File "/home/mml2/miniconda2/lib/python3.6/site-packages/conda/__init__.py", line 19, in &lt;module&gt;
      from .common.compat import text_type, iteritems
    File "/home/mml2/miniconda2/lib/python3.6/site-packages/conda/common/compat.py", line 87, in &lt;module&gt;
      from json import JSONDecodeError
    File "/home/mml2/miniconda2/lib/python3.6/json/__init__.py", line 106, in &lt;module&gt;
      from .decoder import JSONDecoder, JSONDecodeError
    File "/home/mml2/miniconda2/lib/python3.6/json/decoder.py", line 3, in &lt;module&gt;
      import re
    File "/home/mml2/miniconda2/lib/python3.6/re.py", line 122, in &lt;module&gt;
      import enum
    File "/home/mml2/Libs/LibsDyogen/enum.py", line 66
      raise NotImplementedError, \
                               ^
  SyntaxError: invalid syntax
  (base) mml2@ryzenpc:~$ 
  </code></pre>
  
  <p>Can anyone help me to solve this issue? Please let me know if you need any other details regarding this problem.</p>