Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Pygame won`t install on Mac OS X Lion
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="xxViennaxx" data-source="post: 1390917" data-attributes="member: 246690"><p><strong>New try</strong></p><p></p><p>OK, i tried something else. I used MacPorts to install Pygame. Clean and swift. Then I opened Terminal and tested, both with the default Python, 2.7, and the updated one, 3.2.</p><p>For the 2.7 it went well. Imported with no errors and I actually managed to create a functional GUI. </p><p>[CODE]viennamini:~ Home$ python</p><p>Python 2.7.1 (r271:86832, Jun 16 2011, 16:59:05) </p><p>[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin</p><p>Type "help", "copyright", "credits" or "license" for more information.</p><p>>>> import pygame</p><p>>>> [/CODE]</p><p>BUT, for the 3.2 version, I got an error:</p><p>[CODE]viennamini:~ Home$ python3</p><p>Python 3.2.2 (v3.2.2:137e45f15c0b, Sep 3 2011, 17:28:59) </p><p>[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin</p><p>Type "help", "copyright", "credits" or "license" for more information.</p><p>>>> import pygame</p><p>Traceback (most recent call last):</p><p> File "<stdin>", line 1, in <module></p><p> File "/Library/Python/3.2/site-packages/pygame-1.9.1release-py2.7-macosx-10.7-intel.egg/pygame/__init__.py", line 95, in <module></p><p> from pygame.base import *</p><p>ImportError: dlopen(/Library/Python/3.2/site-packages/pygame-1.9.1release-py2.7-macosx-10.7-intel.egg/pygame/base.so, 2): Symbol not found: _PyCObject_Type</p><p> Referenced from: /Library/Python/3.2/site-packages/pygame-1.9.1release-py2.7-macosx-10.7-intel.egg/pygame/base.so</p><p> Expected in: flat namespace</p><p> in /Library/Python/3.2/site-packages/pygame-1.9.1release-py2.7-macosx-10.7-intel.egg/pygame/base.so</p><p>>>> [/CODE]</p><p>I managed another way to install and got new problems. Any solutions for any of my problems?</p></blockquote><p></p>
[QUOTE="xxViennaxx, post: 1390917, member: 246690"] [b]New try[/b] OK, i tried something else. I used MacPorts to install Pygame. Clean and swift. Then I opened Terminal and tested, both with the default Python, 2.7, and the updated one, 3.2. For the 2.7 it went well. Imported with no errors and I actually managed to create a functional GUI. [CODE]viennamini:~ Home$ python Python 2.7.1 (r271:86832, Jun 16 2011, 16:59:05) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import pygame >>> [/CODE] BUT, for the 3.2 version, I got an error: [CODE]viennamini:~ Home$ python3 Python 3.2.2 (v3.2.2:137e45f15c0b, Sep 3 2011, 17:28:59) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import pygame Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Library/Python/3.2/site-packages/pygame-1.9.1release-py2.7-macosx-10.7-intel.egg/pygame/__init__.py", line 95, in <module> from pygame.base import * ImportError: dlopen(/Library/Python/3.2/site-packages/pygame-1.9.1release-py2.7-macosx-10.7-intel.egg/pygame/base.so, 2): Symbol not found: _PyCObject_Type Referenced from: /Library/Python/3.2/site-packages/pygame-1.9.1release-py2.7-macosx-10.7-intel.egg/pygame/base.so Expected in: flat namespace in /Library/Python/3.2/site-packages/pygame-1.9.1release-py2.7-macosx-10.7-intel.egg/pygame/base.so >>> [/CODE] I managed another way to install and got new problems. Any solutions for any of my problems? [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Pygame won`t install on Mac OS X Lion
Top