My first requirement was a version of Python that works well with Pygame and something we can replicate across a number of PCs. We use Macs, so after much playing around we figured that Bootcamp was our best option to deliver Python 3.4.3 with Pygame. (At the moment I can't find a 3.5.0 version) We tried numerous times to get it working natively on Mac and failed miserably. Best I could do was get version 2.7.1, but then we discovered it relies on quite a lot of emulation anyway, so seemed like a waste of time. (Please put comments in, if you have had more success than me.)
Linux is actually easy enough to install, but Windows is already installed and the students are largely familiar with it.
The Method
PLEASE ONLY DO THIS IF YOU ARE A CONFIDENT COMPUTER ADMINISTRATOR.DO NOT TRY WITHOUT PARENTAL / EMPLOYER PERMISSION.
So after looking around most of the net, we found an excellent site: http://programarcadegames.com/ So here are the instructions:
- Remove all previous versions of Python on your PC. (We had quite a few)
- Run the Python installer downloaded from:
ProgramArcadeGames.com/python-3.4.3.msi - Run the Pygame installer downloaded from:
ProgramArcadeGames.com/pygame-1.9.2a0.win32-py3.4.msi
One point to note, when you make a new project you have to choose interpreter 3.4.3. Pycharm automatically adds 3.5.0.
Nice post. Thanks for share.
ReplyDeletepython course london