Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #12527
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Anil F Duggirala <anilduggirala@fastmail.fm> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: best practice when installing python packages |
| Date | Sun, 26 Apr 2020 15:40:02 +0200 |
| Message-ID | <zZPFL-1nQ-1@gated-at.bofh.it> (permalink) |
| References | <zZwMN-6H3-5@gated-at.bofh.it> <zZxfQ-6QJ-5@gated-at.bofh.it> |
| X-Original-To | Scott Kitterman <debian@kitterman.com> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Sun Apr 26 13:30:12 2020 |
| Old-Return-Path | <anilduggirala@fastmail.fm> |
| X-Amavis-Spam-Status | No, score=-7.262 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7, SARE_MSGID_LONG40=0.637] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .fastmail. - helo: .wout3-smtp.messagingengine. - helo-domain: .messagingengine.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5 |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= message-id:subject:from:to:cc:date:in-reply-to:references :content-type:mime-version:content-transfer-encoding; s=fm3; bh= 5UTgXlCsoesvFfll1vmZGYkuwH+FnkNkhc8OibRwMe8=; b=RTTnm5dEClUNyKSW XLNyZGt1jB/gvF2Atkk9AK10M7vHiJ88K0ads88tQje8AY1votF5YTE1ksTwfCbz Q3zN7xxPCn8nqoqKC3m31kfyaE8QewtlP82N3J5ie2UOBP05niHzDVzG/sjDX3FJ QCLX9hHC17Kw2xgyPRJU4BiDWtwYJ+nWVXi/bxhQgUTpXSSeYkX00d+hyX3P1M1E 5ZIMGfFsk9nqyAXRCS6apFnZlUmTBvSaq7KSxt/ZSIZ16RH6F++FAcz2STk6EXt8 8+uDgcH8qqykJN9nU83hSlro/uC+r1CW3syppPpdkjelmmxNs3bbYUOR0AJpsy0p lpC8Ug== |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=5UTgXlCsoesvFfll1vmZGYkuwH+FnkNkhc8OibRwM e8=; b=JLi38ZRwwAfXyeAiZ4IVJQkpck0bIINkMRZqgSE6g9Xwh1Xdo5O8lvsfu hfExkXY4t39QuTe/ArVrX0nTZzpPaZKL7GMT7awTPzdm9db1frkVUNg4+Y8Fsaqg 1ysTii24FLR4oQJ8tw71el2dIHpGyYWLMTujPWb8wHoLEFRpQk6G+u1P1fGUKLUk bXWlP9Z55G+Ikos+GgV5/eaSn6JS6jHV4zv5AWGv6/UaQc+iGVv1hverAJHmNLQY wdKLurIAXx0JXp4jsufS+X0BuyJpFRB4vNOCZ/AhsFViy6UHsoCr9J666Av2rx7c M2eXpCiWbvSi5UIl/xLciRsqkPBww== |
| X-Me-Sender | <xms:tYilXtBwUBuvJXVFl_L9bT0y5qALYXsGxPR0k4f_ScrDk7BBFsU4vA> |
| X-Me-Proxy-Cause | gggruggvucftvghtrhhoucdtuddrgeduhedrheejgdeifecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepkffuhffvffgjfhgtfggggfesthejre dttderjeenucfhrhhomheptehnihhlucfhucffuhhgghhirhgrlhgruceorghnihhlughu ghhgihhrrghlrgesfhgrshhtmhgrihhlrdhfmheqnecukfhppedukedurdehhedruddvie drvddtleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pegrnhhilhguuhhgghhirhgrlhgrsehfrghsthhmrghilhdrfhhm |
| X-Me-Proxy | <xmx:tYilXtyUn0OXxNhcJK6muN-jWozWnPtqfKeXmGsf1nhdgzpBBrceyw> <xmx:tYilXooov0u9-NPIchAh7ntu4xDEDPOv0kLQ2HgUPfACHN0ufTcFSg> <xmx:tYilXgtFuTZ9H_QP14P0iEJpQpwmdVUZzHSZwG9AXGlpMjjoooMZOA> <xmx:tYilXnMNk5Jx2iwwLQhrQ_kQatXgwCrk5EOvYuQKqrDA2Yr2U1SyTw> |
| Content-Type | text/plain; charset="UTF-8" |
| User-Agent | Evolution 3.30.5-1.1 |
| MIME-Version | 1.0 |
| Content-Transfer-Encoding | 7bit |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/18210 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/63e02f8dd016fc13028fa092ccca16bf3d61a173.camel@fastmail.fm |
| Approved | robomod@news.nic.it |
| Lines | 35 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | debian-python@lists.debian.org |
| X-Original-Date | Sun, 26 Apr 2020 08:12:18 -0500 |
| X-Original-Message-ID | <63e02f8dd016fc13028fa092ccca16bf3d61a173.camel@fastmail.fm> |
| X-Original-References | <1ca31f3135819abe22e7ef97be53eceba4e33c3d.camel@fastmail.fm> <4092489.7iboS2WarK@sk-desktop> |
| Xref | csiph.com linux.debian.maint.python:12527 |
Show key headers only | View raw
On Sat, 2020-04-25 at 13:55 -0400, Scott Kitterman wrote: > On Debian pip/pip3 does a user install by default, so if you do an > 'upgrade' > of a system installed module, it should have no system wide effect, > only for > the current user. Thank you for that piece of info. I was really wondering why all pip installed packages were --user installed. But does this also apply to upgrading pip itself? So if I upgrade pip I would necessarily end up with two different versions of pip? In that case what determines which will be the "default" pip? And will this possibly create issues? Sorry, I am a newbie. > > The Buster (Debian 10) version of PyQt5 does not install the Python > packaging > related metadata, so it not being listed by pip3 is not a surprise > (for the > next release it is provided). Well. Basically my problem is that, with the pip3 version supplied by Debian, it is not possible to install pyqt5 without an error. One apparently needs to upgrade pip (however, this appears to be a bug in the pyqt5 package). > For cases like this, I think the best practice is to work inside a > virtualenv > where you can upgrade pip and install whatever you need via pip with > no impact > on either your user or system python. I will do this then. Thank you very much Scott.
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
best practice when installing python packages Anil F Duggirala <anilduggirala@fastmail.fm> - 2020-04-25 19:30 +0200
Re: best practice when installing python packages Scott Kitterman <debian@kitterman.com> - 2020-04-25 20:00 +0200
Re: best practice when installing python packages Anil F Duggirala <anilduggirala@fastmail.fm> - 2020-04-26 15:40 +0200
Re: best practice when installing python packages Anil F Duggirala <anilduggirala@fastmail.fm> - 2020-04-26 17:10 +0200
csiph-web