I have download pygame as well as 32 bit version of python 3.4. When I try to run the application to play the wav files I receive the following:
Traceback (most recent call last):
File "E:\MyProjects\Python\GameShow\GameShowSounds.py", line 1, in
ImportError: No module named 'pygame'
I have checked and C:\PythonX\Lib\site-packages is part of the path. Would like to know what I am missing? Running on Windows 7 system.
Help get this topic noticed by sharing it on Twitter, Facebook, or email.
I have forwarded your question on to our Book Tech staff, so they can help you find a solution. If you ever have any questions or issues with the content of a title, you can also contact them directly at email@example.com or call them at:
1-707-827-7019 (outside the USA)
7:30 am to 5:00 PST
I download the "pygame" windows file and ran the application. I used all the defaults did not change anything since I was not sure if I should, what I could find in the install instructions did not indicate that I should do anything but the default.
Yet when I try to run any of your applications or the 'pygame' examples I receive the same error message that I reported in the beginning.
I would like to know what I am doing wrong. Running 32bit python 3.4 on a Windows 7 64 bit machine.
It sounds like Python isn't finding the library. Can you tell me which version of Pygame you have? It sounds like you could have the wrong version and it's not recognizing it. You may need to install an older version of Python, because I can only see a version of Pygame for Python 3.3, but not for 3.4 -
O'Reilly Book Support