Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game 2 pyaudio error #30

Closed
mikelty opened this issue Dec 9, 2020 · 1 comment
Closed

Game 2 pyaudio error #30

mikelty opened this issue Dec 9, 2020 · 1 comment

Comments

@mikelty
Copy link

mikelty commented Dec 9, 2020

I got the following error on python3.6.8 running game 2:
Traceback (most recent call last):
File "Game2.py", line 75, in
cocos.director.director.init(caption="Pikachu Go Go Go")
File "C:\Users\mik\AppData\Local\Programs\Python\Python36\lib\site-packages\cocos\director.py", line 356, in init
cocos.audio.initialize(audio_settings)
File "C:\Users\mik\AppData\Local\Programs\Python\Python36\lib\site-packages\cocos\audio_init_.py", line 58, in initialize
music.set_control('dummy')
I asked around and someone said the audio needs to be initialized and gave the docs: http://python.cocos2d.org/doc/api/cocos.director.html#cocos.director.Director.init .
I'm a beginner to cocos so I don't know how to fix this. Help please.

@CharlesPikachu
Copy link
Owner

you need to install the specified cocos version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants