Skip to content
Discussion options

You must be logged in to vote

You're looking for mip, MicroPython's answer for pip:

https://docs.micropython.org/en/latest/reference/packages.html#installing-packages-with-mip

If your device is connected to the internet, you can install directly on the device:

>mpremote
Connected to MicroPython at /dev/ttyACM0
Use Ctrl-] or Ctrl-x to exit this shell
MicroPython v1.22.0 on 2023-11-09; TUUKKA-NUCLEO-WB55 with STM32WB55RGV6
Type "help()" for more information.
>>> import mip
>>> mip.install("umqtt.simple")
Installing umqtt.simple (latest) from https://micropython.org/pi/v2 to /root/.micropython/lib
Copying: /root/.micropython/lib/umqtt/simple.mpy
Done
>>>

Or you can 'push' the library to the device by using mip via mpremo…

Replies: 3 comments

Comment options

mattytrentini
Feb 8, 2024
Collaborator Sponsor

You must be logged in to vote
0 replies
Answer selected by tonynsx
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
ESP32
Labels
None yet
2 participants