Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #94815
| From | ElChino <elchino@cnn.cn> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Python launcher problem |
| Date | 2015-07-31 18:30 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <mpg7oo$19p$1@dont-email.me> (permalink) |
| References | <mpci4h$4bi$2@dont-email.me> <mailman.1093.1438263505.3674.python-list@python.org> |
Zachary Ware wrote: > On Jul 30, 2015 2:05 AM, "ElChino" <elchino@cnn.cn <mailto:elchino@cnn.cn>> wrote: > > > > If I in a cmd-shell (actually it is 4NT), do: > > c:>py -3 -V & python3 -V > > > > I get: > > Requested Python version (3) not installed << ! from py -3 -V > > Python 3.5.0b2 << ! from the 2nd cmd. > > > > What nonsense is this? I DO HAVE Python3 in my %PATH. > > A Registry setting gone haywire? > > Did you perchance rename the installed 'python.exe' to 'python3.exe'? > That would be enough to break the launcher. If you want a 'python3' > command, you can copy 'python.exe' to 'python3.exe', but 'python.exe' > needs to remain where it was. That's what I did: ls -l f:/ProgramFiler/Python35/python*.exe -rwxr-xr-x 1 XX Administratorer 37664 May 31 04:18 f:/ProgramFiler/Python35/python.exe -rwxr-xr-x 1 XX Administratorer 37664 May 31 04:18 f:/ProgramFiler/Python35/python3.exe -rwxr-xr-x 1 XX Administratorer 37664 May 31 04:18 f:/ProgramFiler/Python35/pythonw.exe They all depends on: f:\ProgramFiler\Python35\python35.dll The one and only python35.dll on this box. And also on PATH. I took Ben Finney's advice to heart. From: http://code.activestate.com/lists/python-list/684547/ <quote> Calling ‘python’ is now ambiguous, and with Python 2 slipping inexorably into the past, increasingly the ‘python’ command is the wrong choice for code that we want to survive in the future. I am seeing a growing call, with which I agree, to recommend explicitly calling ‘python2’ or ‘python3’ as commands. </quote> That's why I made that copy; even if some of you find that strange on Windows. I'll investigate is there's an issue with the Registry later.
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Python launcher problem ElChino <elchino@cnn.cn> - 2015-07-30 09:03 +0200
Re: Python launcher problem Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-30 09:39 +0200
Re: Python launcher problem Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-30 10:01 +0100
Re: Python launcher problem Terry Reedy <tjreedy@udel.edu> - 2015-07-30 05:41 -0400
Re: Python launcher problem wxjmfauth@gmail.com - 2015-07-30 08:05 -0700
Re: Python launcher problem ElChino <elchino@cnn.cn> - 2015-07-31 18:30 +0200
csiph-web