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


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

best practice when installing python packages

Path csiph.com!news.samoylyk.net!aioe.org!bofh.it!news.nic.it!robomod
From Anil F Duggirala <anilduggirala@fastmail.fm>
Newsgroups linux.debian.maint.python
Subject best practice when installing python packages
Date Sat, 25 Apr 2020 19:30:01 +0200
Message-ID <zZwMN-6H3-5@gated-at.bofh.it> (permalink)
X-Mailbox-Line From debian-python-request@lists.debian.org Sat Apr 25 17:27:09 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 using cached result; rate:hard: -5.5
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= message-id:subject:from:to:date:content-type:mime-version :content-transfer-encoding; s=fm3; bh=U+/r9SFcMkvkFhajOIO2sw6aNz qXzvPgtacJKVD+MDs=; b=T8ULGZTJt4AaysP34d+9nIkwJA8mibje6nbFecsEOd Ag3jo0Bb6aQ3sZLt/ty7zKr4JwHfhbaZeM90AtUf+GOCVHZm0njoV6x9Sz08c49n PfIUOX0kZzA2svNGr8kLV69t0snXFoJb3THwZyfKJxK0Fnz+raiI4jdwwCREcs8l zpSLWnZ1cHtIs91Ta/eB5/wPU1tD7+e7E1Uw0SFfzTDQgs77XmTFCE4oep6t5Twx X7C5EOo1JNHduUvqOlMuHdMPlx6WB5VPoQAE0cRrLUEDQszYPY/UEuxgrK8zR2Cx 4uOGk4glS/Q5A1MDRZl4ePjKlM/doY1u8hBRi217TeRQ==
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=U+/r9S FcMkvkFhajOIO2sw6aNzqXzvPgtacJKVD+MDs=; b=OLYmsUXenvIlT3mWsMbWC+ M1fRbPNuHtikI1ENS/ScAZDkrVD5BsnbgfPfQYkoROzMjTvKwWdE4QkLXcgJsp7c kexSXGD2ImaAfNCOEVYaypyiE/Eps8K2X7mqDhpEpnN0Y13QhMZJHHxlZrCu0OY2 Q3MIeR+yaGzU2/jpjZIpgqeguegrDuIauWaOEnrIMz9F7z0dyRlnJNrvaWJlaJPy Si/kf2xsy46gPccUfd1GGzvEpK5LxtVSXRXLN5QyPcSvNNcQGrZHW25PQn50Xw4z T/BcbPm+oUnI6X8Oxgy+Fr9Uk83AYbLYGJrkvicxGDNYAbJuHU7frQSGhmRAE5Kw ==
X-Me-Sender <xms:D2-kXoDzYmHWCXoNc9cpQGvfuxOLGQkTgsvG96EW8yWdbymYwGYvlQ>
X-Me-Proxy-Cause gggruggvucftvghtrhhoucdtuddrgeduhedrheeggdekiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepkffuhffvffgtfggggfesthejredttd erjeenucfhrhhomheptehnihhlucfhucffuhhgghhirhgrlhgruceorghnihhlughughhg ihhrrghlrgesfhgrshhtmhgrihhlrdhfmheqnecukfhppedukedurdehhedruddviedrvd dtleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegr nhhilhguuhhgghhirhgrlhgrsehfrghsthhmrghilhdrfhhm
X-Me-Proxy <xmx:D2-kXsGp7aCyGpmo-ZH8Eat8MLtrrCUfpL8xa9otUACHjdJHltGNEA> <xmx:D2-kXh6UbF9iIZlEvtdpAlvFNwOXftr8biUCxnxeLWAeItm39kR_Fg> <xmx:D2-kXqk9nDEqGok-mKSaWBPMx568aDI1mW07RqyhsvsAcj64yYXcCQ> <xmx:D2-kXjroCOUrN4FUSLeKMdAVMBvkx0vcyVlZ9bF46vvDgfi2rXFvUg>
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/18207
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/1ca31f3135819abe22e7ef97be53eceba4e33c3d.camel@fastmail.fm
Approved robomod@news.nic.it
Lines 27
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sat, 25 Apr 2020 12:10:37 -0500
X-Original-Message-ID <1ca31f3135819abe22e7ef97be53eceba4e33c3d.camel@fastmail.fm>
Xref csiph.com linux.debian.maint.python:12524

Show key headers only | View raw


hello,
Im having an issue while installing a piece of software with pip3:
pip3 install --user -r contrib/requirements/requirements-binaries.txt

Command "python setup.py egg_info" failed with error code 1 in
/tmp/pip-install-48wlqr39/PyQt5/

I had previously installed: apt install python3-pyqt5. Now, pyqt5 is
listed in the requirements-binaries.txt list, however, it requires a
newer version than the one installed by apt. 

Online I find many people getting a similar error and suggesting using
pip3 upgrade to upgrade the "pip" and the "setuptools" modules. And
this brings me to my question. What happens if I use pip3 to upgrade a
module that was installed via apt?

Now pip3 list is listing both the pip and setuptools modules (which
were installed using apt). It even tells me about a newer version
available (via pip). However pip3 list is not listing the pyqt5 module
as installed, why is it not showing this module, which is installed?
Does this have to do with the fact that my pip or setuptools modules
are outdated? (both have much newer versions available via pip)

please reply to my email, I am not subscribed to this list,
thank you,

Anil

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


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