I am teaching myself python, going through some lessons and reading Al Sweigart's book on programming small video games using Python. I am trying to get Pygame working on my laptop. I have tried time and time again to properly install all neccesary tools to run pygame but for some reason I am constantly unsuccessful.
I first tried to install pygame for python 3.6 and after many different attempts I decided to give my computer a factory reset so I could start clean. I understand I could've deleted all residual files using the terminal but being that I'm an amateur I felt more at ease just giving my mac a wipe. Through my research I found that Pygame works best with python v 2.7. I am running Mac OS 10.13(High Sierra).
The first thing I did upon a fresh wipe was open the terminal and process all commands to download things like python2.7, homebrew, pip, pygame. I then tried to import the pygame module but still no prevail. So I decided to go right to the pygame website and download the, pygame-1.9.2pre-py2.7-macosx10.7, file. I see the pygame folder and all of its contents but everytime I try to import the module I receive this import error:
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so: no matching architecture in universal wrapper
I have read that pygame only works with 32 bit version of python but whenever I attempt to download the sole i386/PPC 32 bit version from the website I cant even get IDLE to open at all.
I apologize in advance if my explanation seems a bit choppy. I'm still learning.