Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #11421

Cant run pip3 as user.

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From aprekates <aprekates@posteo.net>
Newsgroups linux.debian.maint.python
Subject Cant run pip3 as user.
Date Tue, 30 Apr 2019 19:50:01 +0200
Message-ID <xSF3b-1X7-1@gated-at.bofh.it> (permalink)
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Tue Apr 30 17:40:23 2019
Old-Return-Path <aprekates@posteo.net>
X-Amavis-Spam-Status No, score=-7.9 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, BODY_8BITS=1.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate:hard: -5.5
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1556646007; bh=UciX/bKhLR1G6k38b0SZtjj8ycf0MGw+PxnbJFPRwI4=; h=To:From:Subject:Date:From; b=A8xpXXEyc8qIzt2DHh7LbBcrDkNJ9GiADx1jRP7Y8shisb1X6kMrBtN9ajGlIYTsg IEc92gYk8GA10raoe1slXHwQovzj6fkaqJ831iOH+aoXlYnC3akopYD4MHpleyyQRZ jH3/P4/yF79XPRrqrjnD3orPw/eSybI7zfWa7LixvuLFpLyGBmItHz0Q5Xyu7uY2U3 bYM3oRor49yrppjZA/PX0Aage8snwNWv/EyoZ9fHVdjUjR1EvHEDAXWdpEVN3eFL6c B0GYaJea4kDFzJFSUAxmQdshh5AIpyv4G5DOryvWAsIEuZG2TcJflzTYSZDwunGJ8P 6+9pbfkI/QqcA==
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 8bit
Content-Language en-US
X-Mailing-List <debian-python@lists.debian.org> archive/latest/16897
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/2482028f-6ff0-a879-61ac-72c11f87585b@posteo.net
Approved robomod@news.nic.it
Lines 28
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Tue, 30 Apr 2019 20:40:06 +0300
X-Original-Message-ID <2482028f-6ff0-a879-61ac-72c11f87585b@posteo.net>
Xref csiph.com linux.debian.maint.python:11421

Show key headers only | View raw


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

Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Cant run pip3 as user. aprekates <aprekates@posteo.net> - 2019-04-30 19:50 +0200
  Re: Cant run pip3 as user. Alex Mestiashvili <amestia@rsh2.donotuse.de> - 2019-04-30 21:10 +0200
    Re: Cant run pip3 as user. aprekates <aprekates@posteo.net> - 2019-04-30 21:20 +0200

csiph-web