Changing 'Scripts/*.exe'
Meredith Montgomery
mmontgomery at levado.to
Sun Oct 2 09:39:16 EDT 2022
Gisle Vanem <gvanem at yahoo.no> writes:
> Hello list.
>
> I'm moved my old Python27 installation from
> f:\ProgramFiler\Python27 ( == 'ProgramFiles')
> to
> f:\gv\Python27
>
> 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?
Wouldn't it be great if it were portable by default?
More information about the Python-list
mailing list