Changing 'Scripts/*.exe'
Gisle Vanem
gvanem at yahoo.no
Mon Oct 3 03:48:23 EDT 2022
dn wrote:
>> 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?
>
> Yes, by putting a symbolic-link at the old 'programfiler' location which
> points to the new 'gv' installation.
I'm suspicious about sym-links.
Instead for 'pip' I just did a 'py -2 get-ip.py' which seems
to have fixed it. The newly generated 'f:\gv\Python27\Scripts\pip2.exe'
seems to work fine; the list from 'pip2.7.exe list' is correct.
--
--gv
More information about the Python-list
mailing list