google-code-export / pyglet

Automatically exported from code.google.com/p/pyglet
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Pyglet does not install on Python 2.7 on Windows 7 64-bit #488

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
To reproduce:
1. Download pyglet-1.1.4.msi at http://www.pyglet.org/download.html.
2. Double-click the installer.
3. A message pops up: "pyglet requires Python 2.4 or later. The installation 
will be aborted."

Original issue reported on code.google.com by frederi...@gmail.com on 31 Jul 2010 at 8:51

GoogleCodeExporter commented 9 years ago
I get the same issue on Windows 7 32 bit also

Original comment by onida...@gmail.com on 2 Aug 2010 at 3:40

GoogleCodeExporter commented 9 years ago
I presume this is all well-understood by the authors, but just in case extra 
data is handy:

On Windows XP, the msi runs OK, but only offers to install for Python 2.5 or 
2.6. 

Python 2.7, which is installed on this machine, is not offered as a choice.

Installing from source (e.g. using pip) works just fine on Python 2.7.

Original comment by tart...@gmail.com on 2 Aug 2010 at 10:35

GoogleCodeExporter commented 9 years ago
I am getting same issue and i am going to give up on python and go back to c 
soon. It is not worth the effort to try and install all of these modules if 
they don't work

Original comment by jcv...@gmail.com on 12 Nov 2010 at 5:46

GoogleCodeExporter commented 9 years ago
same error here attempting to install 1.1.4 on python 2.7 under windows 7 64 
(using 32bit python), get same message as frederikdb "pyglet requires Python 
2.4 or later. The installation will be aborted."

Original comment by ialp...@gmail.com on 18 Dec 2010 at 5:24

GoogleCodeExporter commented 9 years ago
I am getting same error on python 3.1 

Original comment by thewa7sh...@hotmail.com on 28 Dec 2010 at 8:11

GoogleCodeExporter commented 9 years ago
The pyglet installer does not support Python 3 because pyglet does not support 
python 3. The installer error should probably be changed to say "pyglet 
requires Python 2.4 or later Python 2 versions".

Original comment by Hello3...@gmail.com on 29 Dec 2010 at 4:07

GoogleCodeExporter commented 9 years ago
Same issue here for python 2.7.2, why is this not fixed?

Original comment by celeron55@gmail.com on 19 Aug 2011 at 5:00

GoogleCodeExporter commented 9 years ago
Here is a hackishly InstEdited version that installs and works with Python 2.7:

http://celeron.55.lt/~celeron55/random/2011-08/pyglet-1.1.4-py27quickfix.msi

NOTE: It does not work with Python 2.6 and it is not able to uninstall itself.

Original comment by celeron55@gmail.com on 19 Aug 2011 at 5:45

GoogleCodeExporter commented 9 years ago
Celeron55, thanks for that hack--it worked very nicely for Python 2.7.2 on 
Windows 7 x64 for me. I hope it can be incorporated into the next Pyglet 
release so those who are keeping up with the latest 2.x release aren't forced 
to use hacks to get this cool library to work!

Original comment by ProfessorO@gmail.com on 9 Nov 2011 at 10:43

GoogleCodeExporter commented 9 years ago
Thanks celeron55!
It's a shame the official installer does not work.

Original comment by igor...@gmail.com on 22 Nov 2011 at 5:57

GoogleCodeExporter commented 9 years ago
Thanks! Thanks!

Original comment by mlvl.jr@gmail.com on 9 Dec 2011 at 7:50

GoogleCodeExporter commented 9 years ago
Thank You Celeron!

Original comment by jdsantia...@gmail.com on 2 Feb 2012 at 4:54

GoogleCodeExporter commented 9 years ago
I still can't install pyglet...same error all the time. Can anybody help me?

Original comment by maksym...@gmail.com on 18 Apr 2012 at 5:26

GoogleCodeExporter commented 9 years ago
I don't know who built the previous installer's but I don't have the ability to 
do it. On the other hand as pyglet requires no compilation it is quite simple 
to use the setup.py script in the source download:
python setup.py build
python setup.py install

Original comment by Adam.JT...@gmail.com on 28 Apr 2012 at 1:25

GoogleCodeExporter commented 9 years ago
i was having the same error, i found that i can install pyglet if i am running 
python 2.5.4 x86 version instead of x64 or a later release such as python 2.7
i hope this helps some people

Original comment by nathan_y...@hotmail.com on 10 Jun 2012 at 3:12

GoogleCodeExporter commented 9 years ago
pip install pyglet

Original comment by littlegu...@gmail.com on 14 Sep 2012 at 7:32

GoogleCodeExporter commented 9 years ago
I was asked for the hacked installer by e-mail as the celeron.55.lt server was 
down, so I uploaded it here too: 
http://ompldr.org/vZ2p4cA/pyglet-1.1.4-py27quickfix.msi

Original comment by celeron55@gmail.com on 4 Dec 2012 at 6:54

GoogleCodeExporter commented 9 years ago
Is the pyglet still dead?  Or is installation of all python module 
intentionally obfuscated to compensate for the ease of use of python 
programming?   I just downloaded the Pyglet windows installer MSI to work with 
Python(x,y) 2.7.3.  Aborted with message 
"pyglet requires Python 2.4 or later. The installation will be aborted."

Honestly, I love the Python language, but the never ending module issues are a 
nightmare and I am probably going to another language to actually get some work 
done (I came to pyglet after frustration with Pygame installation numpy and 
color errors) because Pyglet  advertises 'no dependencies)

Error messages attached:

Original comment by dell.and...@gmail.com on 24 Dec 2012 at 11:26

Attachments:

GoogleCodeExporter commented 9 years ago
Addendum:  I just installed pyglet from the following URL and it seems to 
install and then import OK with Python(x,y) 2.7.3, but I have not yet tried to 
use it for anything (I know nothing about Pyglet...yet):
http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame

Original comment by dell.and...@gmail.com on 24 Dec 2012 at 11:31

GoogleCodeExporter commented 9 years ago
I have added a comment to website/download.xml about this issue, if it is 
acceptable can someone, with access to the server, upload the changes please?

Original comment by Adam.JT...@gmail.com on 9 Jan 2013 at 9:14

GoogleCodeExporter commented 9 years ago
I had this same error and the problem was Windows did not have Python in the 
Environment Variable path for Python 2.7.

This site is good for anyone who doesn't know how to do it.
http://stackoverflow.com/questions/7054424/python-not-recognised-as-a-command
 Then I installed from the zip file NOT the .msi file.

Original comment by rjko...@gmail.com on 12 Jan 2013 at 10:36

GoogleCodeExporter commented 9 years ago
worked for me. use the alpha version. Win 7 64 bit, Python 2.7.3 64 bit

Original comment by riser...@gmail.com on 21 Feb 2013 at 1:46

GoogleCodeExporter commented 9 years ago
Hello, I have Windowx XP Pro with two Pythons, 2.7.4 and 3.3.0, the first one 
being put into the PATH variable. For the latter I have renamed the 
Python33/python.exe file to Python33/python33.exe.
I have installed pyglet-1.1.4 to Python27 and pyglet-1.2a1 to Python33 without 
any problems via:
> PythonXX setup.py build
> PythonXX setup.py install
Seems to working properly.

Original comment by jaak...@gmail.com on 11 May 2013 at 2:35

GoogleCodeExporter commented 9 years ago
Issue 622 has been merged into this issue.

Original comment by useboxnet on 17 Jul 2013 at 5:10

GoogleCodeExporter commented 9 years ago
The pyglet-1.1.4.msi installer only works with python versions 2.4, 2.5 or 2.6; 
if you wish to use python 2.7 please install from source.

Simply download the source tarball or zip, unpack it, enter the directory and 
run:
python setup.py install

Alternatively if you are familiar with pip, "pip install pyglet" will install 
pyglet-1.1.4.

Original comment by useboxnet on 17 Jul 2013 at 6:12

GoogleCodeExporter commented 9 years ago
Issue 622 has been merged into this issue.

Original comment by useboxnet on 17 Jul 2013 at 6:12

GoogleCodeExporter commented 9 years ago
Issue 597 has been merged into this issue.

Original comment by Adam.JT...@gmail.com on 20 Jul 2013 at 8:52

GoogleCodeExporter commented 9 years ago
The website has finally been updated.

Original comment by Adam.JT...@gmail.com on 20 Jul 2013 at 8:54

GoogleCodeExporter commented 9 years ago
I am new to Python and Pyglet. I'm using Python 2.7.5 (verified: python -V) on 
OS X 10.8.5 (Mountain Lion) and I've installing Pyglet from both the DMG 
(1.1.4) and also tried installing Pyglet from the source found in 
"pyglet-1.1.4.zip" and using "pip install pyglet" from the command line. 

Both say they install successfully. But when I try running a basic Hello world 
example from http://www.pyglet.org/doc/programming_guide/hello_world.html, I 
get this error: 

Traceback (most recent call last):
  File "hello.py", line 3, in <module>
    window = pyglet.window.Window()
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyglet/__init__.py", line 306, in __getattr__
    __import__(import_name)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyglet/window/__init__.py", line 1669, in <module>
    from pyglet.window.carbon import CarbonPlatform, CarbonWindow
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyglet/window/carbon/__init__.py", line 69, in <module>
    framework='/System/Library/Frameworks/QuickTime.framework')
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyglet/lib.py", line 90, in load_library
    return self.load_framework(kwargs['framework'])
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyglet/lib.py", line 226, in load_framework
    lib = ctypes.cdll.LoadLibrary(realpath)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 443, in LoadLibrary
    return self._dlltype(name)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 365, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: dlopen(/System/Library/Frameworks/QuickTime.framework/QuickTime, 6): 
no suitable image found.  Did find:
    /System/Library/Frameworks/QuickTime.framework/QuickTime: mach-o, but wrong architecture
    /System/Library/Frameworks/QuickTime.framework/QuickTime: mach-o, but wrong architecture

Original comment by workf...@gmail.com on 30 Oct 2013 at 10:25

GoogleCodeExporter commented 9 years ago
Re: last comment

Try the following command to get the latest from the mercurial repo.
pip install hg+https://pyglet.googlecode.com/hg/

The pip package hasn't been updated in a long long time.
You will need mercurial installed and possibly the python mercurial package too.

Cheers,
Adam

Original comment by adam.lw....@gmail.com on 31 Oct 2013 at 12:58

GoogleCodeExporter commented 9 years ago
Hi, all.

I'm running 64-bit Python on a Windows 7 64-bit machine (Python 2.7.5) and a 
Linux (crunchbang) 64-bit machine (Python 2.7.3). In crunchbang I used the 
Debian repo to install pyglet, and it works well. In Windows I found three ways 
to install Pyglet that seemed to work equally well (well enough to run 
examples, at least):

1. Christoph Gohlke's excellent http repo of precompiled binary installers: 
http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyglet

2. The pyglet 1.2 alpha: 
http://code.google.com/p/pyglet/downloads/list?q=1.2alpha1

3. The pyglet development version: http://pyglet.googlecode.com/archive/tip.zip 
(easily installed using pip, as described at the bottom of 
http://www.pyglet.org/download.html)

-Ravi

Original comment by rjon...@gmail.com on 6 Nov 2013 at 10:02