Python error - "ImportError: cannot import name 'dist'" : <p>I'm on Ubuntu 16.04, and I get:</p>

<pre><code>Traceback (most recent call last):
  File "/home/omermazig/.virtualenvs/fixi/bin/pip", line 7, in &lt;module&gt;
    from pip import main
  File "/home/omermazig/.virtualenvs/fixi/lib/python3.6/site-packages/pip/__init__.py", line 26, in &lt;module&gt;
    from pip.utils import get_installed_distributions, get_prog
  File "/home/omermazig/.virtualenvs/fixi/lib/python3.6/site-packages/pip/utils/__init__.py", line 23, in &lt;module&gt;
    from pip.locations import (
  File "/home/omermazig/.virtualenvs/fixi/lib/python3.6/site-packages/pip/locations.py", line 9, in &lt;module&gt;
    from distutils import sysconfig
  File "/home/omermazig/.virtualenvs/fixi/lib/python3.6/distutils/__init__.py", line 25, in &lt;module&gt;
    from distutils import dist, sysconfig
ImportError: cannot import name 'dist'
</code></pre>

<p>When I run anything with python. This specifically is for trying to run "pip freeze". What to do?</p>
