I\'m on Ubuntu 16.04, and I get:
Traceback (most recent call last):
File \"/home/omermazig/.virtualenvs/fixi/bin/pip\", line 7, in
from
Since I run into this issue everytime I update my ubuntu version every six months, then stumble on the exact same SO result, here is my solution.
If the other solutions listed here don't work (installing python3-distutils
), it might be because of different python versions between the system and the virtualenv.
The easy solution is to destroy your virtualenv, then recreate it from scratch.