Download Pygame For Python 35

I am unable to find a pygame download for Python 3.5 and the ones I have downloaded don't seem to work when I import to the shell. Help?

This is the message I receive on the shell:

import pygame Traceback (most recent call last): File ', line 1, in import pygame ImportError: No module named 'pygame'

UtnapishtumUtnapishtum

Mar 18, 2015 - As of February, 2017, you can just run pip install pygame and it will install. I use 64-bit Windows 8, so I have the 64-bit version of Python 3.4. How To Download And Install Pygame On Python 3.6.0 On Windows 10 - Easy To Follow Guide Python Trailer 2 years ago How to install Python 3.6 and Pygame. Download the current version of XQuartz (2.7.7 as of this writing), as shown in Figure 2. Open your Downloads folder. Installing Pygame for Python 3 on Mac and Linux 11 4. Hen the Pygame installation completes, open a file window W and go to Applications4 Programming4IDLE (using.

6 Answers

I'm gonna guess your using Windows. If you are not then there is no special version of pygame for Python 3+. If you do have Windows then read below.

You will need pygame to be part of your path to do this. This is so you can use this in the command prompt. Make sure you use it as an admin when doing this.

First you need to find out what bit version of Python you have. Open your Python shell and at the top of the window it should say something like 'Pygame V(some number) (bit number)' You want the bit number.

Now you ned to open the command prompt. Use the 'windows key + r key' to open the run menu, and type 'cmd' and press enter. Or you can just search your PC for 'cmd' and right click on it and select 'run as admin' to open as an admin.

Python comes with a special path command called 'pip.' I am not gonna get into this module too much, but in short it is used to install addition Python modules. The first thing you need to do is this command...

The screen should print some stuff off while doing this. You can tell if the module installed correctly because it should print something like 'wheel installed successfully.' We are gonna need this later.

Now you need to get your pygame file. Go here and find the pygame section. If you have python 32 bit download you should download this 'pygame-1.9.2b1-cp35-cp35m-win32.whl' or if you have 64 bit Python download 'pygame-1.9.2b1-cp35-cp35m-win_amd64.whl'. I am pretty sure these are the ones you need for your bit version, but I installed pygame on my Windows 10 a few months ago so they may be different now.

Once you have this downloaded go back to the command prompt. Enter this command...

Make sure it includes the .whl extension. If you get an error then specify the path to the folder the file is in (which should be the downloads folder). Once again you should see a message similar to 'pygame installed successfully.'

Download

Once all this is done open your Python shell and type...

If it works you now have pygame available for use. If not then there are a few more things you can try...

  1. Try restarting your PC. Sometimes these things don't take affect until a system restart.
  2. Try installing a different version of pygame from the website listed above. It may just be a simple issue due to bit version differences.
  3. Make sure you actually installed the pygame module from the file. It may of thrown an error that appeared to be an actual successful installation. It always pays to double-check.

Like I said before I installed pygame on my Windows 10 with Python 3.4 64 bit a few months ago in the same way I told you here so it should work, but may be outdated. Anyways I hope this helps you with your pygame installation issues and the best of luck to you!

TacoTree11TacoTree11

For windows now you simply use pip as it's available directly to install as pygame.

Use the following command:

Download Pygame For Python 3.6

It should output something like this, then you can test if it's working by importing pygame.

Download Pygame For Python 3.2

MothbawlsMothbawls

This worked preety well for me:

System: Ubuntu 16.10 x64

Python 2.7 + Pygame:

Python 3.5 + Pygame:(Python 3.5.2+ in my case)

sparsktersparskter

Then put this into your cmd

Pygame For Python 3

Then type

the green penguinthe green penguin

Even when you have windows 64 bit you need to get the win32.whl file , then follow the standard instructions

Karl The CoderKarl The Coder

In an anaconda environment with python 3.5 installed, you can simply do:

Download Pygame For Python 3.6.2

pip install pygame

I'm in ubuntu 14.04, this should work with newer and other linuxes.

Download Pygame For Python 35 Pc

For
calocedruscalocedrus

protected by CommunityJan 1 '17 at 1:12

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?

Pygame Download For Python 3.7

For

Download Pygame For Python 35 Free

Not the answer you're looking for? Browse other questions tagged pythonpython-3.xpygame or ask your own question.