Skip to content

syntax error and module error #8

@SamMuel112

Description

@SamMuel112

Hello,

I am trying to use this code on a raspberry pito make a live oscilloscope (as a prototype) for my modular synthesizer. I have 2 main errors.

one says:
File "/home/pi/Desktop/Waveformviewer1.py", line 13
%matplotlib tk
^
SyntaxError: invalid syntax

I tried bypassing it by commenting it with a #. but it brought up:

                        File "/home/pi/Desktop/Waveformviewer1.py", line 5, in <module>
                           import pyaduio
                        ImportError: No module named 'pyaudio'

To resolve this I have tried running install commands in the terminal updates upgrades all that sort of back-end stuff but it's still not working.

please help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions