Im using 3.4.3 for a school project but it seems pip doesnt like this. I am working in a VM. I get this error when I pip3 install flask.
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_vagrant/MarkupSafe
with this also:
class DistutilsLoader(importlib.util.abc.Loader):
AttributeError: 'module' object has no attribute 'abc'
I checked and originally I had no dist-packages directory in /usr/lib/python3.4 but i had an existing dist-packages in /usr/lib/python3/, so I made a symlink from /usr/lib/python3.4 to the existing dist-packages. Not quite sure what else to do, short of reinstalling Python or worse the VM... I am digging into the pip.log but it seems verymuch the same as what I have already seen.
setuptools? Try to downgrade it. Trypip install --upgrade "setuptools<44"