Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

micropython #12

Open
riker65 opened this issue May 14, 2023 · 1 comment
Open

micropython #12

riker65 opened this issue May 14, 2023 · 1 comment

Comments

@riker65
Copy link

riker65 commented May 14, 2023

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

@mano8
Copy link

mano8 commented May 16, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants