Path: csiph.com!goblin1!goblin.stu.neva.ru!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'modify': 0.04; 'remaining': 0.07; 'rename': 0.07; 'message-id:@4ax.com': 0.09; 'oh,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'reinstall': 0.09; "system's": 0.09; 'uninstalled': 0.09; 'python': 0.10; 'extensions': 0.13; 'subject:python': 0.14; 'importing': 0.15; 'properly': 0.15; 'thu,': 0.15; 'did.': 0.16; 'installer,': 0.16; 'menu.': 0.16; 'processors': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'registry': 0.16; 'variable.': 0.16; 'url:home': 0.18; 'changes': 0.20; 'windows': 0.20; '2015': 0.20; 'sep': 0.22; 'skip:c 70': 0.22; 'bit': 0.23; 'references': 0.23; 'installed': 0.26; 'header:X-Complaints-To:1': 0.26; 'figure': 0.27; '+0200,': 0.27; 'skip:f 40': 0.27; 'went': 0.28; 'skip:( 20': 0.28; 'skip:( 50': 0.29; 'environment': 0.29; '(c)': 0.29; 'folder': 0.30; 'entry': 0.31; 'embedded': 0.32; 'maybe': 0.33; 'changed': 0.33; 'idle': 0.33; 'subject:change': 0.33; '2009': 0.34; 'server': 0.34; 'skip:( 30': 0.35; 'skip:c 30': 0.35; 'exist': 0.35; 'path': 0.35; 'but': 0.36; 'there': 0.36; 'modules': 0.36; "wasn't": 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'charset:us-ascii': 0.37; 'front': 0.38; 'stuff': 0.38; 'wrong': 0.38; 'files': 0.38; 'why': 0.39; 'sure': 0.39; "didn't": 0.39; 'enough': 0.39; 'system.': 0.39; 'to:addr:python.org': 0.40; 'where': 0.40; 'still': 0.40; 'software': 0.40; 'default': 0.61; 'identify': 0.61; 'telling': 0.61; 'reserved.': 0.67; 'day': 0.67; 'frank': 0.72; 'affected.': 0.84; 'dennis': 0.91; 'pic': 0.93; 'received:108': 0.93; 'sitting': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: foldername change killed python Date: Thu, 17 Sep 2015 08:54:25 -0400 Organization: IISS Elusive Unicorn References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-108-68-178-61.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 61 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1442494500 news.xs4all.nl 23831 [2001:888:2000:d::a6]:52162 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:96765 On Thu, 17 Sep 2015 01:45:03 +0200, Frank Huurman 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/