Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #96765
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Subject | Re: foldername change killed python |
| Date | 2015-09-17 08:54 -0400 |
| Organization | IISS Elusive Unicorn |
| References | <CA+NcZZ7M1HVc+WhKNwZ=hpGu_7vt30busrGy=Dw7+j2mXL3RxQ@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.698.1442494500.8327.python-list@python.org> (permalink) |
On Thu, 17 Sep 2015 01:45:03 +0200, Frank Huurman <huurmanfrank@gmail.com>
declaimed the following:
>Heya, I just uninstalled Python 3.5 so I can reinstall it with the default
>path.
>
>Took me a day to figure out why my extra modules weren't importing in
>py2exe properly and why the Python for windows extensions kept on telling
>me I didn't have Python 3.5 installed while in fact I did.
>It wasn't a well known 64 bit/32 bit case this time but the fact that I
>installed Python 3.5 to C:\Python35
>
>and changed the name to C:\Python 3.5
>
>After that everything just went haywire cause the python for windows
>extensions where looking at the wrong folder and stuff was telling me that
>Python 3.5 didn't exist while IDLE was just sitting there in my start menu.
>
Sure -- since Windows uses a Registry entry to identify how to execute
stuff... Rename the directory used in the installer, and you need to go
into the registry and modify all references to the original directory to
match the new location. All the shortcuts also would have the original
location embedded into them. Oh, and the PATH might be affected.
This would happen with 99% of the software installed on a Windows
system. The remaining 1% may not use the registry -- but would maybe still
need changes in the PATH environment variable.
Hmmm... Time to edit MY system's PATH... I don't do enough with PIC
processors to have mplabc18 at the front of the search order; same with
SPARK...
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Wulfraed\Documents>echo %path%
C:\Program Files (x86)\Microchip\mplabc18\v3.47\mpasm;
C:\Program Files (x86)\Microchip\mplabc18\v3.47\bin;C:\SPARK\gpl-2014\bin;
C:\GtkAda\bin;C:\Python_x64\Python27\;
C:\Python_x64\Python27\Scripts;c:\Python_x64\Python27\Tools\scripts;
c:\apps\wscite;C:\GNAT\2014\bin;C:\Windows\system32;C:\Windows;
C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;
c:\apps\r\r-2.15.3\bin;C:\Program Files (x86)\SimpleIDE\propeller-gcc\bin;
c:\apps\eclipse;C:\Python_x64\Python33\;C:\Python_x64\Python33\Scripts;
C:\Python_x64\Python33\Tools\Scripts;c:\Python_x86\Python27;
c:\Python_x86\Python27\Tools\scripts;C:\Program Files\Calibre2\;
C:\Program Files\rexx.org\Regina;%APPDATA%\Python\Scripts;
c:\apps;c:\Program Files\MySQL\MySQL Server 5.6\bin;c:\apps\Rexx-Ext;
C:\Program Files\TortoiseSVN\bin;
C:\Program Files (x86)\Common Files\Acronis\SnapAPI\;
C:\Apps\gnuplot\bin;C:\Program Files (x86)\Microchip\MPLAB C32 Suite\bin;
C:\Program Files\Intel\WiFi\bin\;
C:\Program Files\Common Files\Intel\WirelessCommon\;
C:\Program Files (x86)\GNU\GnuPG\pub;
C:\Users\Wulfraed\AppData\Roaming\Python\Scripts
C:\Users\Wulfraed\Documents>
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: foldername change killed python Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-09-17 08:54 -0400
csiph-web