vedirect icon indicating copy to clipboard operation
vedirect copied to clipboard

micropython

Open riker65 opened this issue 1 year ago • 1 comments

Hi, wondering why this is error occurs, how to solve?

pi@pi3solar:/opt/vedirect/examples$ python3 vedirect_mqtt.py Traceback (most recent call last): File "/opt/vedirect/examples/vedirect_mqtt.py", line 6, in from vedirect import Vedirect File "/home/pi/.local/lib/python3.9/site-packages/vedirect/init.py", line 2, in from .vedirect_asyncio import VEDirectAsyncio File "/home/pi/.local/lib/python3.9/site-packages/vedirect/vedirect_asyncio.py", line 5, in raise NotImplementedError("This is only for Micropython") NotImplementedError: This is only for Micropython

riker65 avatar May 14 '23 07:05 riker65

It looks like you are using another micropython fork of this package. Not the original. You can try to install it again or use another fork, depending on the version of python used. Here it looks like you are trying to run Micropython code on a Python interpreter.

mano8 avatar May 16 '23 00:05 mano8