You are not logged in.
I recently wanted to install a python package via pip, specifically presto-python-client. Then I installed python-pip. Then I tried installing the package:
```
pip install presto-python-client
Traceback (most recent call last):
File "/usr/bin/pip", line 6, in <module>
from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'
```
And also the same error via sudo.
Then I read elsewhere that pkg_resources was part of setup_tools so installed python-setuptools.
However I still got the same error.
Offline
You may have messed up your Python installation. Try to reinstall all Python packages, or at least python, python-setuptools and python-pip.
Offline
It should be entirely impossible to install python-pip without having setuptools be automatically installed as a dependency...
Did you do a partial update? Do you have part of your system installed as python3.7 and part of your system held back on python3.6?
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline