Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #51263
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2013-07-25 15:26 -0700 |
| References | <4ddada8b-81fd-46e7-bd5d-eeab550a9fa7@googlegroups.com> <a548b0e1-4d48-4667-ae97-f356771140e6@googlegroups.com> <mailman.5103.1374763156.3114.python-list@python.org> |
| Message-ID | <5c35c252-67ed-4810-88b2-6708ed321bee@googlegroups.com> (permalink) |
| Subject | Re: Python3, GUIs, game APIs, PyGLet, 2to3...? |
| From | John Ladasky <john_ladasky@sbcglobal.net> |
On Thursday, July 25, 2013 1:35:43 AM UTC-7, Kushal Kumaran wrote: > Does your python command mean python2 or python3? The setup.py at > https://code.google.com/p/pyglet/source/browse/setup.py seems to run > 2to3 automatically, but that will only happen if you actually use > python3 to run setup.py. Thank you for that sharp observation, Kushal! (And I hope that more packages besides pyglet are configured this way -- to automatically run 2to3, when you install on Python 3.) How strange that I remember typing "sudo python setup.py install". Because on my Ubuntu 13.04 system, that would invoke Python 2.7, which is an essential part of the OS. Nevertheless, I was able to import pyglet after invoking "python3" from the shell. I didn't think that installed modules could be shared between multiple Python versions. I'll try again from scratch, and see whether that clears up my problems.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Python3, GUIs, game APIs, PyGLet, 2to3...? John Ladasky <john_ladasky@sbcglobal.net> - 2013-07-24 22:26 -0700
Re: Python3, GUIs, game APIs, PyGLet, 2to3...? John Ladasky <john_ladasky@sbcglobal.net> - 2013-07-24 23:56 -0700
Re: Python3, GUIs, game APIs, PyGLet, 2to3...? Kushal Kumaran <kushal.kumaran+python@gmail.com> - 2013-07-25 14:05 +0530
Re: Python3, GUIs, game APIs, PyGLet, 2to3...? John Ladasky <john_ladasky@sbcglobal.net> - 2013-07-25 15:26 -0700
PyGLet, 2to3...? John Ladasky <john_ladasky@sbcglobal.net> - 2013-07-25 16:49 -0700
Re: PyGLet, 2to3...? Jerry Hill <malaclypse2@gmail.com> - 2013-07-26 09:39 -0400
Re: PyGLet, 2to3...? Kushal Kumaran <kushal.kumaran+python@gmail.com> - 2013-07-26 10:22 +0530
Re: PyGLet, 2to3...? John Ladasky <john_ladasky@sbcglobal.net> - 2013-07-26 16:35 -0700
Re: PyGLet, 2to3...? John Ladasky <john_ladasky@sbcglobal.net> - 2013-07-26 18:19 -0700
Re: PyGLet, 2to3...? John Ladasky <john_ladasky@sbcglobal.net> - 2013-07-26 21:00 -0700
csiph-web