Samtec-ASH / pyrpio

Python RPIO
MIT License
6 stars 2 forks source link

v0.0.1 not working with python 3.7.3 raspbian #1

Open ulbricht-inr opened 3 years ago

ulbricht-inr commented 3 years ago

Hi, since the last upgrade to 0.1.0 it causes the error import pyrpio File "/usr/local/lib/python3.7/dist-packages/pyrpio/__init__.py", line 2, in <module> from importlib.metadata import version ModuleNotFoundError: No module named 'importlib.metadata'

System: Raspbian with Python 3.7.3

Quick fix: pip3 install pyrpio==0.0.5

Greetings :)

adamtec commented 3 years ago

Thanks for reporting. I moved import statement and on exception just fallback to static version for now. Version 0.1.1 is out and 0.1.0 was yanked. Let me know if this fixes it for you.