Skip to content

Will not import in python script on raspberry pi #12

@justcallmekoko

Description

@justcallmekoko

I installed this library on my raspberry pi zero w by following the instructions on the README which dictate I use pip3.

I imported the library in my script in the same way shown in the example but I receive the following error...

Traceback (most recent call last):
  File "touch_import.py", line 2, in <module>
    import adafruit_touchscreen
  File "/usr/local/lib/python3.7/dist-packages/adafruit_touchscreen.py", line 47, in <module>
    from analogio import AnalogIn
  File "/usr/local/lib/python3.7/dist-packages/analogio.py", line 21, in <module>
    raise NotImplementedError("analogio not supported for this board.")
NotImplementedError: analogio not supported for this board.

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