Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

The bigger the theory the better.


devel / comp.lang.python / Re: Cannot install pkg_resources using pip

SubjectAuthor
o Re: Cannot install pkg_resources using pipPeter J. Holzer

1
Re: Cannot install pkg_resources using pip

<mailman.116.1681759451.20750.python-list@python.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=27401&group=comp.lang.python#27401

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: hjp-python@hjp.at (Peter J. Holzer)
Newsgroups: comp.lang.python
Subject: Re: Cannot install pkg_resources using pip
Date: Mon, 17 Apr 2023 21:24:03 +0200
Lines: 62
Message-ID: <mailman.116.1681759451.20750.python-list@python.org>
References: <702fdd3c-089-f34a-7f-9f971be2d5ba@appl-ecosys.com>
<87618b70-ef05-b63f-71a2-738c40b138f9@tompassin.net>
<20230417192403.tjstbhqvqsdvdurm@hjp.at>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
protocol="application/pgp-signature"; boundary="qheuf3d4wcfv74fp"
X-Trace: news.uni-berlin.de bgMRoR7/D3Nk3GAz7ZlHyAh+qQZe0ceLkLxX41JiU/cg==
Return-Path: <hjp-python@hjp.at>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.000
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'knows': 0.04; 'pip': 0.04;
'content-type:multipart/signed': 0.05; 'subject:install': 0.07;
'up?': 0.07; 'content-type:application/pgp-signature': 0.09;
'desktop.': 0.09; 'filename:fname piece:asc': 0.09;
'filename:fname piece:signature': 0.09;
'filename:fname:signature.asc': 0.09; '"creative': 0.16; '__/':
0.16; 'challenge!"': 0.16; 'cleaned': 0.16; 'from:addr:hjp-
python': 0.16; 'from:addr:hjp.at': 0.16; 'from:name:peter j.
holzer': 0.16; 'hjp@hjp.at': 0.16; 'holzer': 0.16; 'installed.':
0.16; 'question,': 0.16; 'reality.': 0.16; 'setuptools': 0.16;
'shepard': 0.16; 'stross,': 0.16; 'subject:Cannot': 0.16;
'subject:pip': 0.16; 'url-ip:212.17.106.137/32': 0.16; 'url-
ip:212.17.106/24': 0.16; 'url-ip:212.17/16': 0.16; 'url:hjp':
0.16; '|_|_)': 0.16; 'wrote:': 0.16; 'python': 0.16; 'pm,': 0.19;
'to:addr:python-list': 0.20; 'version': 0.23; 'install': 0.23;
'installed': 0.23; 'subject:using': 0.23; 'cannot': 0.25; "isn't":
0.27; 'sense': 0.28; "i'll": 0.33; 'there': 0.33; 'package': 0.34;
'header:In-Reply-To:1': 0.34; 'definitely': 0.35; 'question.':
0.35; 'using': 0.37; 'directory': 0.37; 'file': 0.38; 'wrote':
0.39; 'should': 0.40; 'received:212': 0.62; 'subject:skip:p 10':
0.64; 'upgrade': 0.64; 'received:userid': 0.66; 'bad': 0.67;
'right': 0.68; 'skip:/ 10': 0.69; 'url-ip:212/8': 0.69; 'trust':
0.71; 'little': 0.73; 'direction.': 0.84; 'received:at': 0.84;
'that:': 0.91
Mail-Followup-To: python-list@python.org
Content-Disposition: inline
In-Reply-To: <87618b70-ef05-b63f-71a2-738c40b138f9@tompassin.net>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <20230417192403.tjstbhqvqsdvdurm@hjp.at>
X-Mailman-Original-References: <702fdd3c-089-f34a-7f-9f971be2d5ba@appl-ecosys.com>
<87618b70-ef05-b63f-71a2-738c40b138f9@tompassin.net>
 by: Peter J. Holzer - Mon, 17 Apr 2023 19:24 UTC
Attachments: signature.asc (application/pgp-signature)

On 2023-04-16 17:03:43 -0400, Thomas Passin wrote:
> On 4/16/2023 4:42 PM, Rich Shepard wrote:
> > Python3-3.9.10 installed on this Slackware64-14.2 desktop.
[...]
> > # pip install setuptools
> > bash: /usr/bin/pip: /usr/bin/python3.7: bad interpreter: No such file or
> > directory
> >
> > There is no python3.7 here:
> > # ls /usr/bin/python3.7
> > ls: cannot access '/usr/bin/python3.7': No such file or directory
> >
> > How do I clean this up?
>
> What is there to clean up?

There is a version of pip installed for a version of python which isn't
installed. That's definitely not useful, so it should be cleaned up.

As to how to do that:

Find out which package /usr/bin/pip belongs to and deinstall or upgrade
this package. How to find that package is a Slackware question, not a
Python question. And since Rich wrote that he's been comfortably using
Slackware for 20 years, I'll trust that he knows how to do that and just
needed a little nudge into the right direction.

hp

--
_ | Peter J. Holzer | Story must make more sense than reality.
|_|_) | |
| | | hjp@hjp.at | -- Charles Stross, "Creative writing
__/ | http://www.hjp.at/ | challenge!"

Attachments: signature.asc (application/pgp-signature)

devel / comp.lang.python / Re: Cannot install pkg_resources using pip

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor