I was following the Raspberry Pi tutorial for the Music box: https://projects.raspberrypi.org/en/pro ... usic-box/3
Along the way I went through the steps shown and got it to work, until it came to playing the .wav file. When it came time for that I coded it in Python like the instructor did in the video, but when I went to go press the button this is what error it gave me:
pygame 1.9.4.post1
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "/home/pi/ISAC Noisemaker/ISAC Noisemaker.py", line 4, in <module>
pygame.int()
AttributeError: Module 'pygame' has no attribute 'int'
I am extremely green (new) when it comes to coding, raspberry pi's, and the such, so if anyone could help me that would be great.
If anyone does try to help me with this, I apologize in advance for my slow responses because I am a student and I have a never ending stream of projects and assignments due.