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

python3 #1

Open
combs opened this issue Dec 17, 2016 · 1 comment
Open

python3 #1

combs opened this issue Dec 17, 2016 · 1 comment

Comments

@combs
Copy link

combs commented Dec 17, 2016

Sounds great! It doesn't seem to work in python3.4. Some of the print statements yack out, and if I fix those (easy enough for a noob like me), it looks like there's a difference in how threading works:

  File "/usr/local/lib/python3.4/dist-packages/PyAudioMixer.py", line 23, in <module>
    import thread
ImportError: No module named 'thread'

I'll keep chewing on it and will submit a PR if I figure it out.

Thanks!

@jpc0
Copy link

jpc0 commented Jul 11, 2020

To import thread you need to know that is changed to _thread in python 3 however it is better to refactor to use the threading module in-stead. Feel free to look at my implementation for inspiration or if mine works for you just use it in-stead. Sorry for necro.

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