[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Cant run pip3 as user.



Hi . Strangely i can run pip3 as user in my Debian 9.6 .

$ which pip3
/usr/bin/pip3

$ LANG=us sudo apt-cache policy  python3-pip
python3-pip:
  Installed: 9.0.1-2+deb9u1
  Candidate: 9.0.1-2+deb9u1
  Version table:
 *** 9.0.1-2+deb9u1 500
        500 http://ftp.gr.debian.org/debian stretch/main amd64 Packages
        500 http://ftp.gr.debian.org/debian stretch/main i386 Packages
        100 /var/lib/dpkg/status

$ pip3 --version
Traceback (most recent call last):
  File "/usr/bin/pip3", line 9, in <module>
    from pip import main
ImportError: cannot import name 'main'

$ sudo pip3 --version
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.5)


thanks.

Alexandros



Reply to: