Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #107489

Re: a problem with importing pygame

From Tim Golden <mail@timgolden.me.uk>
Newsgroups comp.lang.python
Subject Re: a problem with importing pygame
Date 2016-04-22 13:22 +0100
Message-ID <mailman.13.1461327728.2861.python-list@python.org> (permalink)
References <CA+LbMjZatCHwk-mpGxbnLJS4vugj8RvUy9kuwFHsa-mW7mfvDg@mail.gmail.com> <571A176B.10009@timgolden.me.uk>

Show all headers | View raw


On 22/04/2016 09:07, Kiril Bard wrote:
> I use python for my school work and I wanted to download it at home. I had
> my teacher download the version to a flash drive and it still doesn't seem
> to work. The version that I got  from the flash drive was python 3.4.2 and
> I think I got a 32 bit or a 64 bit pygame  for a windows machine. The
> program does not import pygame, it says that there is no module named
> pygame.
> 

Kiril.

Your description of the  problem isn't quite clear. If you haven't, I
suggest you:

* Download Python 3.4 from here:

https://www.python.org/downloads/release/python-343/

(Either the "Windows x86-64 MSI installer" or the "Windows x86 MSI
installer" depending on whether you want 64 or 32-bit respectively)

Run the installer and accept the defaults (unless you have a clear
reason to do otherwise)

* Then download the corresponding version of Pygame from here:

https://bitbucket.org/pygame/pygame/downloads

Either:

https://bitbucket.org/pygame/pygame/downloads/pygame-1.9.2a0-hg_ea3b3bb8714a.win32-py3.4.msi

for 32-bit; or

https://bitbucket.org/pygame/pygame/downloads/pygame-1.9.2a0-hg_8d9e6a1f2635+.win-amd64-py3.4.msi

for 64-bit

Run the installer and accept the defaults

* Then you should be able to start Python and import pygame

If you still have problems, please post back here to see if we can help you.

TJG

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: a problem with importing pygame Tim Golden <mail@timgolden.me.uk> - 2016-04-22 13:22 +0100

csiph-web