Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7928917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T19:53:40+00:00 2026-06-03T19:53:40+00:00

I installed cocos2d today on OS X Lion, but whenever I try to import

  • 0

I installed cocos2d today on OS X Lion, but whenever I try to import cocos in the Python interpreter, I get a bunch of import errors.

File “”, line 1, in File
“/Library/Frameworks/Python.framework/Versions/2.7/lib/
python2.7/site-packages/cocos2d-0.5.0-py2.7.egg/cocos/init.py”,
line 105, in
import_all() File “/Library/Frameworks/Python.framework/Versions/2.7/lib/
python2.7/site-packages/cocos2d-0.5.0-py2.7.egg/cocos/init.py”,
line 89, in import_all
import actions File “/Library/Frameworks/Python.framework/Versions/2.7/lib/
python2.7/site-packages/cocos2d-0.5.0-py2.7.egg/cocos/actions/
init.py”, line 37, in
from basegrid_actions import * File “/Library/Frameworks/Python.framework/Versions/2.7/lib/
python2.7/site-packages/cocos2d-0.5.0-py2.7.egg/cocos/actions/
basegrid_actions.py”, line 62, in
from pyglet.gl import * File “build/bdist.macosx-10.6-intel/egg/pyglet/gl/init.py”, line 510,
in File
“build/bdist.macosx-10.6-intel/egg/pyglet/window/init.py”, line
1669, in File
“build/bdist.macosx-10.6-intel/egg/pyglet/window/carbon/
init.py”, line 69, in File “build/bdist.macosx-10.6-intel/egg/pyglet/lib.py”, line 90, in
load_library File
“build/bdist.macosx-10.6-intel/egg/pyglet/lib.py”, line 226, in
load_framework File
“/Library/Frameworks/Python.framework/Versions/2.7/lib/
python2.7/ctypes/init.py”, line 431, in LoadLibrary
return self._dlltype(name) File “/Library/Frameworks/Python.framework/Versions/2.7/lib/
python2.7/ctypes/init.py”, line 353, 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

Since I can’t fix it, I’d like to remove cocos2d entirely. The problem is that I can’t seem to find a guide anywhere that details how to remove it from the Python installation.

Any help regarding either of these problems is greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T19:53:41+00:00Added an answer on June 3, 2026 at 7:53 pm

    You could fix it.
    The problem comes from the fact that cocos2D is built on top of Pyglet, and the stable release of pyglet does not yet support Mac OS X 64 bits architecture. You have to use the 1.2 release of pyglet or later, which by now is not released yet.

    A workaround is to remove any existing Pyglet install:

    pip uninstall piglet

    Then install the latest Pyglet from the mercurial repository

    pip install hg+https://pyglet.googlecode.com/hg/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Installed Apache Ver 2.2.3 on my vps with Centos 5.6 but when I try
Currently I am using xCode 3.2.5 and I have already installed cocos2d template cocos2d
I would like to clarify this issue. I had installed Cocos2d 1.01 rc on
Installed both SonataMediaBundle, SonataNewsBundle and SonataAdminBundle (and much more but these matter). When posting
Installed rubyinstaller-1.8.7-p358.exe, then tried to install jammit , but the config.gem command isn't being
I installed Python 3.x (besides Python 2.x on Ubuntu) and slowly started to pair
I installed CLisp today on my Win7 PC. Please don't criticize my environment choices,
Installed Magento 1.6.2.0, and noticed that the links are like http://MYSEUPERSTORE.com/ index.php /customer/account/ but
Installed the IronPython tools for VS 2010 but it didn't associate the *.py files
Please help! I just downloaded Cocos2D 2.0 for iPhone and installed the templates into

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.