The problem is when I run pip3 --version
it works fine and produce
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)
So I decided to install pip using sudo apt install python-pip
and works fine producing
python-pip is already the newest version (9.0.1-2.3~ubuntu1).
But when I try to run pip --version
the following error shows up
Traceback (most recent call last): File "/usr/bin/pip", line 9, in from pip import main ImportError: cannot import name main
I already check this post Error after upgrading pip: cannot import name 'main' , but my problem only occurs when I'm using pip (python 2.7). Any help will be appreciated