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


Groups > comp.lang.python > #107489

Re: a problem with importing pygame

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Tim Golden <mail@timgolden.me.uk>
Newsgroups comp.lang.python
Subject Re: a problem with importing pygame
Date Fri, 22 Apr 2016 13:22:03 +0100
Lines 45
Message-ID <mailman.13.1461327728.2861.python-list@python.org> (permalink)
References <CA+LbMjZatCHwk-mpGxbnLJS4vugj8RvUy9kuwFHsa-mW7mfvDg@mail.gmail.com> <571A176B.10009@timgolden.me.uk>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de A9S1uVJ64grVsK+yUWj6GQ0boqqVilP/EMGDOThOtwHg==
Return-Path <mail@timgolden.me.uk>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'defaults': 0.05; 'url:bitbucket': 0.05; 'x86': 0.07; 'msi': 0.09; 'otherwise)': 0.09; 'python': 0.10; 'suggest': 0.15; '"windows': 0.16; '(either': 0.16; 'clear.': 0.16; 'from:addr:timgolden.me.uk': 0.16; 'from:name:tim golden': 0.16; 'message-id:@timgolden.me.uk': 0.16; 'pygame': 0.16; 'pygame,': 0.16; 'pygame.': 0.16; 'received:74.55.86': 0.16; 'received:74.55.86.74': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'received:smtp.webfaction.com': 0.16; 'received:webfaction.com': 0.16; 'tjg': 0.16; 'x86-64': 0.16; 'wrote:': 0.16; 'windows': 0.20; '64-bit': 0.22; 'subject:problem': 0.22; 'bit': 0.23; 'import': 0.24; 'header:In-Reply-To:1': 0.24; 'module': 0.25; 'header:User-Agent:1': 0.26; "doesn't": 0.26; '32-bit': 0.29; 'work.': 0.30; 'post': 0.31; 'says': 0.32; 'run': 0.33; 'problem': 0.33; 'url:python': 0.33; 'machine.': 0.33; 'url:downloads': 0.33; 'clear': 0.35; 'quite': 0.35; "isn't": 0.35; 'should': 0.36; 'there': 0.36; 'url:org': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'wanted': 0.37; 'seem': 0.37; 'version': 0.38; 'does': 0.39; 'received:192': 0.39; 'to:addr:python.org': 0.40; 'subject:with': 0.40; 'still': 0.40; 'your': 0.60; 'school': 0.62; 'back': 0.62; 'charset:windows-1252': 0.62; 'here:': 0.63; 'you.': 0.64; 'here': 0.66; 'flash': 0.67; 'from:addr:mail': 0.70; 'url:4': 0.70; 'home.': 0.75; 'you:': 0.79; '3.4': 0.84; 'either:': 0.91
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1
In-Reply-To <CA+LbMjZatCHwk-mpGxbnLJS4vugj8RvUy9kuwFHsa-mW7mfvDg@mail.gmail.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <571A176B.10009@timgolden.me.uk>
X-Mailman-Original-References <CA+LbMjZatCHwk-mpGxbnLJS4vugj8RvUy9kuwFHsa-mW7mfvDg@mail.gmail.com>
Xref csiph.com comp.lang.python:107489

Show key headers only | 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