Apr-02-2017, 10:57 AM
Hi!
I've gotten myself back into both mac and python development, and have just installed python and pygame on El Capitan.
I'm actually positively shocked how painless the whole process was!
It's as simple as:
1) install official python from python.org. I installed the latest 3.6.0. You can safely disregard the already installed mac python 2.7
2) open the terminal and type "pip3 install pygame". It should download and install the latest pygame 1.9.3.
And... thats it!
I've tested it, it does report some sort of deprecated audio library warning, but it works. Both png and jpg images load just fine.
Just make sure to include the "3" whenever you call python from the terminal. E.g. it's "python3 mygame.py"and "pip3 install something". Without it, you're calling the included version of python 2.7.
Kudos to people who worked on pygame 1.9.3 and finally made it available with pip!
PS: first post here, hi everybody!
I've gotten myself back into both mac and python development, and have just installed python and pygame on El Capitan.
I'm actually positively shocked how painless the whole process was!
It's as simple as:
1) install official python from python.org. I installed the latest 3.6.0. You can safely disregard the already installed mac python 2.7
2) open the terminal and type "pip3 install pygame". It should download and install the latest pygame 1.9.3.
And... thats it!
I've tested it, it does report some sort of deprecated audio library warning, but it works. Both png and jpg images load just fine.
Just make sure to include the "3" whenever you call python from the terminal. E.g. it's "python3 mygame.py"and "pip3 install something". Without it, you're calling the included version of python 2.7.
Kudos to people who worked on pygame 1.9.3 and finally made it available with pip!
PS: first post here, hi everybody!