I've a problem with pip3.
My problem was the same as described in this question.
I've tried a couple of solutions posted inside answers and comments and now I think I've (partially) solved.
The fact is that now, when I type the command pip3
, I get the answer:
Traceback (most recent call last):
File "/usr/bin/pip3", line 9, in <module>
from pip import main
ImportError: cannot import name 'main'
but if I use sudo pip3
it seems to work fine.
My pip version (obtained with the command sudo pip3 --version
) is:
pip 18.1 from /usr/local/lib/python3.5/dist-packages/pip (python 3.5)
my version of python is Python 3.5.2 (default, Nov 23 2017, 16:37:01)
I'm working on a Linux machine with the following Ubuntu version installed:
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial
How can I make pip3
work as before?
Thank you very much for your support