Skip to content

No module named 'sysfs' in newest version of Adafruit_BBIO #208

@AKAMEDIASYSTEM

Description

@AKAMEDIASYSTEM

Hello, I've been following the recent improvements to this library with interest and gratitude - thanks for all the work you've done on this!

I updated to the most recent version (via git clone) today, and now I receive this error when running a script that polls two encoders:

Traceback (most recent call last):
  File "bbb-enc.py", line 9, in <module>
    import Adafruit_BBIO.Encoder as Encoder
  File "/usr/local/lib/python3.5/dist-packages/Adafruit_BBIO-1.0.8-py3.5-linux-armv7l.egg/Adafruit_BBIO/Encoder.py", line 7, in <module>
    import sysfs
ImportError: No module named 'sysfs'

...I see that sysfs.py exists at Adafruit_BBIO/sysfs.py but I'm not sure how to point this library at that; it's probably something simple, but I have looked around online for hints all morning and not found much.

Thanks in advance for any advice you might have!

AKA

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions