New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Python module import error


Post Reply New Thread Subscribe

 
Thread Tools
barvazos

 
Member Since: Dec 31, 2011
Posts: 1
barvazos is on a distinguished road

barvazos is offline
Hello all.

I have been attempting to install the pygame module on my macbook pro running snow leapord. the python version i am running on is 3.2

I have been following instructions from here in order to build and install the module from source.
when running the build i get the following warning many times:

Quote:
file was built for i386 which is not the architecture being linked (x86_64)
when running the python IDLE i am able see the pygame module listed as on of the available modules when running "
Quote:
help ('modules')
"

but when i try to import the module i receive the following:

Quote:
>> import pygame
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
import pygame
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/pygame/__init__.py", line 95, in <module>
from pygame.base import *
ImportError: dynamic module does not define init function (PyInit_base)
I am assuming that this is some sort of linking issue but i do not know how to approach solving it... would very much appreciate any thought as i do not have any programming bg whatsoever
QUOTE Thanks

Post Reply New Thread Subscribe


« software license security | applescript and administrator password...help! »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Lion/Mail/Message Import Fail/Can't open Mail karmar21 OS X - Operating System 0 08-09-2011 06:21 PM
Creating and Finding a Python file Lbatson21 OS X - Development and Darwin 5 07-27-2011 07:15 PM
HP DV7 --> MBP - Outlook Import Issue BWilliams Apple Notebooks 1 05-15-2011 02:10 PM
Time Machine never finishes? rsales Other Hardware and Peripherals 8 01-26-2011 05:45 PM
Python Problems dr_springfield OS X - Development and Darwin 3 05-12-2004 01:04 AM

All times are GMT -4. The time now is 01:19 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?