Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #94765 > unrolled thread
| Started by | ElChino <elchino@cnn.cn> |
|---|---|
| First post | 2015-07-30 09:03 +0200 |
| Last post | 2015-07-31 18:30 +0200 |
| Articles | 6 — 5 participants |
Back to article view | Back to comp.lang.python
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
| From | ElChino <elchino@cnn.cn> |
|---|---|
| Date | 2015-07-30 09:03 +0200 |
| Subject | Python launcher problem |
| Message-ID | <mpci4h$4bi$2@dont-email.me> |
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?
[toc] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2015-07-30 09:39 +0200 |
| Message-ID | <19199478.pdSVmecxvU@PointedEars.de> |
| In reply to | #94765 |
ElChino 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? RTFM. <http://www.catb.org/~esr/faqs/smart-questions.html> -- PointedEars Twitter: @PointedEars2 Please do not cc me. / Bitte keine Kopien per E-Mail.
[toc] | [prev] | [next] | [standalone]
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Date | 2015-07-30 10:01 +0100 |
| Message-ID | <mailman.1089.1438246885.3674.python-list@python.org> |
| In reply to | #94765 |
On 30/07/2015 08:03, ElChino 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? I get:- C:\Users\Mark\Documents\MyPython>py -3 -V & python3 -V Python 3.5.0b4 'python3' is not recognized as an internal or external command, operable program or batch file. I've never had a Windows system with a 'python3' on it, so that is presumably something you've set up. Hence it could be a screwed registry setting, but you're the only person in a position to find out :) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence
[toc] | [prev] | [next] | [standalone]
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Date | 2015-07-30 05:41 -0400 |
| Message-ID | <mailman.1090.1438249280.3674.python-list@python.org> |
| In reply to | #94765 |
On 7/30/2015 3:03 AM, ElChino 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? Start with something that works. C:\Users\Terry>py -3 Python 3.5.0b2 (v3.5.0b2:7a088af5615b, May 31 2015, 06:22:19) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> exit() -- Terry Jan Reedy
[toc] | [prev] | [next] | [standalone]
| From | wxjmfauth@gmail.com |
|---|---|
| Date | 2015-07-30 08:05 -0700 |
| Message-ID | <2f2c1379-69e5-4b31-ba91-ecc020074bd8@googlegroups.com> |
| In reply to | #94769 |
Le jeudi 30 juillet 2015 11:41:35 UTC+2, Terry Reedy a écrit : > On 7/30/2015 3:03 AM, ElChino 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? > > Start with something that works. > C:\Users\Terry>py -3 > Python 3.5.0b2 (v3.5.0b2:7a088af5615b, May 31 2015, 06:22:19) [MSC > v.1900 64 bit (AMD64)] on win32 > Type "help", "copyright", "credits" or "license" for more information. > >>> exit() > > -- > Terry Jan Reedy Are you sure? C:\Users\triplex>py 'py' n'est pas reconnu en tant que commande interne ou externe, un programme exécutable ou un fichier de commandes. C:\Users\triplex>
[toc] | [prev] | [next] | [standalone]
| From | ElChino <elchino@cnn.cn> |
|---|---|
| Date | 2015-07-31 18:30 +0200 |
| Message-ID | <mpg7oo$19p$1@dont-email.me> |
| In reply to | #94765 |
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.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web