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

SyntaxError: invalid syntax #8

Open
youtah opened this issue Feb 12, 2020 · 2 comments
Open

SyntaxError: invalid syntax #8

youtah opened this issue Feb 12, 2020 · 2 comments

Comments

@youtah
Copy link

youtah commented Feb 12, 2020

Running Python 3.6.9

The following script:

#!/usr/bin/env python3
import audiogen
audiogen.sampler.play(audiogen.tone(440))

Generates the error:

jeff@machine:~$ ./test_audio.py 
Traceback (most recent call last):
  File "./test_audio.py", line 3, in <module>
    import audiogen
  File "/home/jeff/.local/lib/python3.6/site-packages/audiogen/__init__.py", line 2, in <module>
    from .sampler import frame_rate
  File "/home/jeff/.local/lib/python3.6/site-packages/audiogen/sampler.py", line 64
    except IOError, e:
                  ^
SyntaxError: invalid syntax

except IOError, e:

@lysol
Copy link

lysol commented Jun 12, 2020

This is an old, seemingly unmaintained project that hasn't been rewritten for Python 3 support.

@superpaddy98
Copy link

The error is within the library. Just "import audiogen" produces that error.

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

3 participants