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

Re: [pygame] I have Python 2.3 and 2.4; can't use pygame



Damn, it looks like I didn't actually compile any of the pygame modules.. I don't realy know what I'm doing here, sorry :/

What you can do in the meantime to run your program, is to start it up from the python2.3 install, and not the newer 2.4. To do this, you can run it from a console like:
C:\Python23>python.exe playMP3.py
or right click on playMP3.py, click "Open With.." and close python.exe from the Python23 folder instead of Python24.



Dick Moores wrote:
Thanks very much. I now have the contents of your .zip file (43 objects) in Python24\Lib\site-packages\pygame .

But this time when I run playMP3.py I get

Warning (from warnings module):
  File "C:\Python24\MyScripts\playMP3.py", line 2
    Lmove=pygame.movie.Movie('C:/python23/02-25-Buffet_Investor_Lunch.mp3')
RuntimeWarning: use movieext: No module named movieext

Traceback (most recent call last):
File "C:\Python24\MyScripts\playMP3.py", line 2, in -toplevel-
Lmove=pygame.movie.Movie('C:/python23/02-25-Buffet_Investor_Lunch.mp3')
File "C:\Python24\lib\site-packages\pygame\__init__.py", line 41, in __getattr__
raise NotImplementedError, MissingPygameModule
NotImplementedError: movieext module not available


Here's playMP3.py again:
===========playMP3.py===========
import pygame, time
Lmove=pygame.movie.Movie('C:/python23/02-25-Buffet_Investor_Lunch.mp3')
Lmove.play()
time.sleep(10)
Lmove.stop()
==================================

Dick Moores