import pygame
My code is not working. I have downloaded pygame for python 2.7. Most pages I looked at, recommended reinstalling python, pygame or both.I did this and it did't work. Also people recommended changing the system from 32 bit to 64 bit or the other way around. I did that to. I tried this:
import platform
platform.architecture()
import pygame
I even tried this all in python 3.5 but I keep getting the same error.
Traceback (most recent call last): File "", line 1, in File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site- >>packages/pygame/init.py", line 95, in from pygame.base import * ImportError: >>dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site->>packages/pygame/base.so, 2): no suitable image found. Did find: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site->>packages/pygame/base.so: no matching architecture in universal wrapper
or sometimes this:
File "/Users/yulianasameroynina/Documents/python programs/gaming.py", line 3, in >> import pygame ImportError: No module named 'pygame'
when I use Pycharm, otherwise I get the first error weather I use Pydev or IDLE.
Thanks
python setup.py install- Max Paymar