Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pyglet does not run in 10.10 because it sees 10.10 as less in version than 10.6 #765

Open
GoogleCodeExporter opened this issue Apr 6, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Have you tried Pyglet 1.2 alpha1 or the repository code? Yes

What steps will reproduce the problem?
1. Run OS X 10.10.0
2. Install Pyglet 1.2 alpha
3. Use Pyglet

Paste in the traceback or error message:

Traceback (most recent call last):
  File "main.py", line 6, in <module>
    from pyglet import image
  File "/Users/max/.pyenv/versions/2.7/lib/python2.7/site-packages/pyglet/__init__.py", line 203, in <module>
    _choose_darwin_platform()  # can be overridden by an environment variable below
  File "/Users/max/.pyenv/versions/2.7/lib/python2.7/site-packages/pyglet/__init__.py", line 199, in _choose_darwin_platform
    raise Exception('pyglet is not compatible with 64-bit Python for versions of Mac OS X prior to 10.6.')
Exception: pygl

Paste in the output of `python -m pyglet.info`:

Traceback (most recent call last):
  File "/Users/max/.pyenv/versions/2.7/lib/python2.7/runpy.py", line 151, in _run_module_as_main
    mod_name, loader, code, fname = _get_module_details(mod_name)
  File "/Users/max/.pyenv/versions/2.7/lib/python2.7/runpy.py", line 101, in _get_module_details
    loader = get_loader(mod_name)
  File "/Users/max/.pyenv/versions/2.7/lib/python2.7/pkgutil.py", line 456, in get_loader
    return find_loader(fullname)
  File "/Users/max/.pyenv/versions/2.7/lib/python2.7/pkgutil.py", line 466, in find_loader
    for importer in iter_importers(fullname):
  File "/Users/max/.pyenv/versions/2.7/lib/python2.7/pkgutil.py", line 422, in iter_importers
    __import__(pkg)
  File "/Users/max/.pyenv/versions/2.7/lib/python2.7/site-packages/pyglet/__init__.py", line 203, in <module>
    _choose_darwin_platform()  # can be overridden by an environment variable below
  File "/Users/max/.pyenv/versions/2.7/lib/python2.7/site-packages/pyglet/__init__.py", line 199, in _choose_darwin_platform
    raise Exception('pyglet is not compatible with 64-bit Python for versions of Mac OS X prior to 10.6.')
Exception: pyglet is not compatible with 64-bit Python for versions of Mac OS X 
prior to 10.6.

Any additional info (platform/language/hardware) that may be relevant?

It's a simple fix in 
/Users/max/.pyenv/versions/2.7/lib/python2.7/site-packages/pyglet/__init__.py 
— osx_version string "10.10.0" is less than "10.6"... but it shouldn't be.

Original issue reported on code.google.com by tekk.nol...@gmail.com on 5 Nov 2014 at 1:44

@GoogleCodeExporter
Copy link
Author

Actually it looks like this is fixed in trunk. My bad.

Original comment by tekk.nol...@gmail.com on 5 Nov 2014 at 1:53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant