micropython-umqtt.simple does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found. #9874
-
I am not able to install several different micropython modules in a virtual environment:
I first tried it via Pycharm CE. Got the micropython plugin installed and when I go to packages in settings, I can see all the micropython packages I want for my project, such as umqtt.simple or ulogging, but there is always the same result when I try to install one: X does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found. Next, I tried it in the terminal as shown above. Same result. Any help much appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hm... Are the micropython packages meant to be top level scripts instead of installable python-modules? micropython newbie... |
Beta Was this translation helpful? Give feedback.
-
MicroPython packages aren't meant to be installed or fetched with See https://docs.micropython.org/en/latest/reference/packages.html for more info. |
Beta Was this translation helpful? Give feedback.
MicroPython packages aren't meant to be installed or fetched with
pip
. That would only be for installing them to your PC (but most micropython packages are not useful to run directly in CPython -- although the ones that are will generally work withpip
).See https://docs.micropython.org/en/latest/reference/packages.html for more info.