[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] problems between linux and windows



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael George wrote:
> Yeah, I figured this out as I was sending it but I figured something
> similar might be going on anyway.

It does look increasingly likely, which is strange because any
filename problem like this should manifest on Windows too. Eric, on
your laptop, what happens if you cd /tmp, and then start up python and
run the following?

import pygame
pygame.init()

On my machine, it looks like this:

ethan@sundance:~$ cd /tmp
ethan@sundance:/tmp$ python
Python 2.4.4 (#2, Aug 16 2007, 02:03:40)
[GCC 4.1.3 20070812 (prerelease) (Debian 4.1.2-15)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygame
>>> pygame.init()
(6, 0)

If this doesn't work, your pygame installation is broken. If it does
work, then something isn't right with your code. Do you perhaps have,
like Michael George suggests, a source file called "pygame.py", or a
directory called "pygame", in your project?

Ethan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFHBbdzhRlgoLPrRPwRAjoJAKCzHLQge4XsXbsSu0knHh276HE/oACY3CDh
e28asmcZ+k6foQC6pOrsow==
=/uWX
-----END PGP SIGNATURE-----