1

I have been trying to install the pygame module and get the error

ImportError: No module named 'pygame'.

I currently have Python version 3.3.4 and installed pygame cp33 32-Bit.

It is currently a whl file and I have tried following tutorials etc in order to import it but I'm having no luck.

halfer
  • 19,824
  • 17
  • 99
  • 186
Jp1875
  • 1
  • 3

3 Answers3

0

Is your Python installation 64 Bit? If your python is a 64 bit version the binary install for the 32 bit will not work.

From pygame website: windows 64bit users note: use the 32bit python with this 32bit pygame. So either download a 32bit python, then install with the 32bit pygame installer, or download the unofficial 64bit pygame build at here.

  • I'm running the 32 bit python but still not getting anywhere, is there any more details i could provide you which would help> – Jp1875 Nov 18 '15 at 17:30
0

Information in this question is vague. But one common mistake is running Python in 64bit mode, something that isn't officially supported by Pygame as of yet.

There are binaries that can be downloaded here: http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame

Note: This answer is a standard answer for those searching the web and ending up here later on, might not solve OP's question.

halfer
  • 19,824
  • 17
  • 99
  • 186
Torxed
  • 22,866
  • 14
  • 82
  • 131
0

You can easy install and check which version fits you by downloading PyCharm IDE. When you download it, go to:

  1. File
  2. Settings
  3. Project <project's name>
  4. Python Interpreter

Then press the plus icon on your right (install), and type pygame. When you find the module, check the box Specify version and select the version you want.

If this version does not want, you can easily select and check the other versions.

LoukasPap
  • 1,244
  • 1
  • 8
  • 17