Skip to content

Issue with importing SpheroEduAPI class #42

@razorfish17

Description

@razorfish17

I'm on a MacBook running Python 3.8 and have installed bleak and spherov2
When I run from spherov2.sphero_edu import SpheroEduAPI I get a TypeError.

Traceback shows:
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/wlamb/opt/anaconda3/envs/sphero/lib/python3.8/site-packages/spherov2/sphero_edu.py", line 83, in <module> class SpheroEduAPI: File "/Users/wlamb/opt/anaconda3/envs/sphero/lib/python3.8/site-packages/spherov2/sphero_edu.py", line 414, in SpheroEduAPI def register_matrix_animation(self, frames:list[list[list[int]]], palette:list[Color], fps:int, transition:bool): TypeError: 'type' object is not subscriptable

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