Skip to content

enviro+ build error, Invalid Syntax in sounddevice.py #209

Closed
@gparsons2

Description

@gparsons2

Building on Raspberry Pi Zero WH, current full Raspbian Buster 5.4.51+, using instructions at https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-enviro-plus, i.e. "sudo ./install.sh". Error:

file _sounddevice.py (for module _sounddevice) not found
  File "build/bdist.linux-armv6l/egg/sounddevice.py", line 2377
    repr(list(conversion_dict))) from e
                                    ^
SyntaxError: invalid syntax

I think the issue is sounddevice.py:2377 needs a ".keys()" after "conversion_dict":
repr(list(conversion_dict.keys()))) from e

The build does complete after above error and code runs, though I assume audio functions won't work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions