Path: csiph.com!4.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!news.mb-net.net!open-news-network.org!aioe.org!bofh.it!news.nic.it!robomod From: Anil F Duggirala Newsgroups: linux.debian.maint.python Subject: Re: best practice when installing python packages Date: Sun, 26 Apr 2020 17:10:01 +0200 Message-ID: References: X-Original-To: Scott Kitterman X-Mailbox-Line: From debian-python-request@lists.debian.org Sun Apr 26 15:00:09 2020 Old-Return-Path: 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: .wout4-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= XvbUAR48Wd1EpNxSVFCdI2ypQ2Ok73H0f1Nf8o4uMvY=; b=jvT5JLlz8Rzo0yIk r8C8vUOVjEl5aRI+5XDh9pNnyjdtKhDT6xl/FQGRva3z8ahzFe5c1qOa5ZEIvNUk FdjccvsAcBG4hRNNulDZwmXT6u9kep0b0Kbm8lVS40AhJdNbl5wpdxuMyL4DPZy4 VsHVODQHiRFE+kqB3IHIqLozfm9J+7zUrtuELcr7Do0adYDH0gWiLWt6IHyS4vKR cDpc87OBW797qzFvIif+Vy54g4yTWg+8ATxIJzPgxFKqC2iSqhBHkujk/o6wF/pK 5waA+MKUTH7dSVJu0vpPs9E2BoxG8J6om6A/MZtgdudQKNyG2mnjs/iZnuYYjMBM jBR78w== 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=XvbUAR48Wd1EpNxSVFCdI2ypQ2Ok73H0f1Nf8o4uM vY=; b=Z6q8Rs93HGgP07C+S0l544vFn9bMh6d4VT1SXXKD+oVFsVaNy7BcA564K jgB84Xd7jArY+hbEclun+u/bJT74e2FB1lQH9a7AePCAAB7A4y9aEtKPivypmPQv 69hmSREnysRROGeYOaS2/zxu58QrGuXHQjC2PtjmGkkcQCcYTp1WIjufTuK47MXC Cc2tdUeejlQQdDKFM502QCqdFQ0ojT8dFL2YXONHN4TdZgwWcvoqTPwJ3YZT4sPm MyuN/vj9W6vBx1A5ZUxMkPcS/ims6I3FDGse5mfam5m45pSWkJsvx7bu5eNIXG+R ixCYGV7FcZ4DBV4lh74QkqobL2byw== X-Me-Sender: X-Me-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrheejgdekvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepkffuhffvffgjfhgtfggggfesthejre dttderjeenucfhrhhomheptehnihhlucfhucffuhhgghhirhgrlhgruceorghnihhlughu ghhgihhrrghlrgesfhgrshhtmhgrihhlrdhfmheqnecuffhomhgrihhnpehsthgrtghkoh hvvghrfhhlohifrdgtohhmnecukfhppedukedurdehhedruddviedrvddtleenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrnhhilhguuhhggh hirhgrlhgrsehfrghsthhmrghilhdrfhhm X-Me-Proxy: 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: archive/latest/18211 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/cbf8a0eed0d197924c317d12b9355571dcdc2e28.camel@fastmail.fm Approved: robomod@news.nic.it Lines: 21 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 09:42:48 -0500 X-Original-Message-ID: X-Original-References: <1ca31f3135819abe22e7ef97be53eceba4e33c3d.camel@fastmail.fm> <4092489.7iboS2WarK@sk-desktop> <63e02f8dd016fc13028fa092ccca16bf3d61a173.camel@fastmail.fm> Xref: csiph.com linux.debian.maint.python:12528 > > 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. > Actually this is exactly what is recommended here: https://stackoverflow.com/questions/59558343/cant-install-pyqt5-on-raspberry-pi However a different post suggests there is a bug in the pyqt5 pyproject.toml. https://stackoverflow.com/questions/59462014/cant-install-pyqt5-using-pip-on-raspberry-pi I just wonder why upgrading pip "fixes" this bug. thanks again,