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


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

best practice when installing python packages

From Anil F Duggirala <anilduggirala@fastmail.fm>
Newsgroups linux.debian.maint.python
Subject best practice when installing python packages
Date 2020-04-25 19:30 +0200
Message-ID <zZwMN-6H3-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | 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