Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

6 May, 2024: The networking issue during the past two days has been identified and appears to be fixed. Will keep monitoring.


devel / comp.lang.python / Re: Changing 'Scripts/*.exe'

SubjectAuthor
o Re: Changing 'Scripts/*.exe'Barry Scott

1
Re: Changing 'Scripts/*.exe'

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: bar...@barrys-emacs.org (Barry Scott)
Newsgroups: comp.lang.python
Subject: Re: Changing 'Scripts/*.exe'
Date: Mon, 3 Oct 2022 21:20:11 +0100
Lines: 54
Message-ID: <mailman.519.1664828422.20444.python-list@python.org>
References: <e030c462-62c3-5b88-9b3f-59a030397acd.ref@yahoo.no>
<e030c462-62c3-5b88-9b3f-59a030397acd@yahoo.no>
<2D8E7AE1-FAB9-4B1E-B6E0-38EC7EAFD8DD@barrys-emacs.org>
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\))
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de 8I3xH9xvPNwFylsjmKfMZgll7PTVAjuW9OzdCfoe7OHw==
Return-Path: <barry@barrys-emacs.org>
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; 'python?': 0.03; 'e.g.':
0.07; 'wrong.': 0.07; '2.7': 0.09; 'anymore.': 0.09; 'cc:addr
:python-list': 0.09; 'fails': 0.09; 'from:addr:barry': 0.09;
'moved': 0.09; 'received:217.70': 0.09; 'received:gandi.net':
0.09; 'received:mail.gandi.net': 0.09; 'uninstall': 0.09;
'url:mailman': 0.15; '2022,': 0.16; 'barry': 0.16; 'cc:name:python
list': 0.16; 'from:addr:barrys-emacs.org': 0.16; 'from:name:barry
scott': 0.16; 'installable': 0.16; 'message-id:@barrys-emacs.org':
0.16; 'subject:Scripts': 0.16; 'uninstalled': 0.16; 'wrote:':
0.16; 'python': 0.16; 'cc:addr:python.org': 0.20; 'installed':
0.23; 'url-ip:188.166.95.178/32': 0.25; 'url-ip:188.166.95/24':
0.25; 'url:listinfo': 0.25; 'cc:2**0': 0.25; 'url-ip:188.166/16':
0.25; 'backed': 0.26; 'old': 0.27; 'expect': 0.28; 'url-ip:188/8':
0.31; 'program': 0.31; 'files,': 0.32; 'python-list': 0.32; 'but':
0.32; "i'm": 0.33; 'there': 0.33; 'hold': 0.33; 'path': 0.33;
'windows': 0.34; 'header:In-Reply-To:1': 0.34; 'files': 0.36;
'fix': 0.36; "skip:' 10": 0.37; 'hard': 0.37; 'way': 0.38; 'put':
0.38; 'read': 0.38; 'break': 0.39; 'want': 0.40; 'try': 0.40;
'back': 0.67; 'received:217': 0.67; 'fixing': 0.69; 'easy': 0.74;
'skip:f 20': 0.75; 'out.': 0.80; 'surprised': 0.84
In-Reply-To: <e030c462-62c3-5b88-9b3f-59a030397acd@yahoo.no>
X-Mailer: Apple Mail (2.3696.120.41.1.1)
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: <2D8E7AE1-FAB9-4B1E-B6E0-38EC7EAFD8DD@barrys-emacs.org>
X-Mailman-Original-References: <e030c462-62c3-5b88-9b3f-59a030397acd.ref@yahoo.no>
<e030c462-62c3-5b88-9b3f-59a030397acd@yahoo.no>
 by: Barry Scott - Mon, 3 Oct 2022 20:20 UTC

> On 1 Oct 2022, at 16:50, Gisle Vanem via Python-list <python-list@python.org> wrote:
>
> Hello list.
>
> I'm moved my old Python27 installation from
> f:\ProgramFiler\Python27 ( == 'ProgramFiles')
> to
> f:\gv\Python27

The design of Windows installed software makes this hard to do without a lot of knowledge about what the installation did.

For example there are registry keys that hold information on where python 2.7 is installed and there is other software that
will read the registry and expect that information to be correct.

I would have backed the old installation, uninstalled and the reinstalled python where you want it to be.

>
> and now many 'scripts/*.exe' program fails
> to start since the old path to 'Python.exe'
> is wrong.
>
> E.g. 'Scripts/pip2.exe' has the path
> "f:\programfiler\python27\python.exe" hard-coded
> inside it.
>
> Is there a easy way to fix this w/o re-installing this
> old Python?

The advice you have had will get you someway to fixing the breakage.
But do not be surprised if more things break as you try different things out.

As I say I would have backed up the files, uninstall and reinstall then put back from backup
any files that are not installable anymore.

Why did you move the files from where they where installed and working?

Barry

>
> --
> --gv
> --
> https://mail.python.org/mailman/listinfo/python-list
>

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor