Changing 'Scripts/*.exe'

dn PythonList at DancesWithMice.info
Mon Oct 3 04:04:45 EDT 2022


On 03/10/2022 20.48, Gisle Vanem via Python-list wrote:
> 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.

OT: I'm sufficiently intrigued to ask "why?" - or are you only talking
of the MS-Windows implementation?


> 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.

As long as things are working again, we're all happy!
-- 
Regards,
=dn


More information about the Python-list mailing list