I got this question answered in StackOverflow, I'll post the link for future reference:
https://stackoverflow.com/questions/709 ... -not-clear
I tried Micropython 1.13 and 1.18, both returned the same error.
According to the answer in StackOverflow, the modules must be packaged specifically for Micropython which, unfortunatelly, was not the case for Tronpy. As suggested in the answer, in PyPI.org, if I search for Tronpy, the search engine finds the package. If I filter for Micropython packages only, the query returns nothing, confirming that this package is not available for Micropython.
The answer in StackOverflow also showed a nice way to debug upip messages:
Code: Select all
$ ./micropython
MicroPython v1.18-5-g037b2c72a-dirty on 2022-02-02; linux version
Use Ctrl-D to exit, Ctrl-E for paste mode
>>> import upip
>>> upip.debug = True
>>> upip.install("Tronpy")
Installing to: /home/gscofano/.micropython/lib/
Queue: ['Tronpy']
https://micropython.org/pi/Tronpy/json
Warning: micropython.org SSL certificate is not validated
https://pypi.org/pypi/Tronpy/json
Error installing 'Tronpy': Package not found, packages may be partially installed
Now, upip tells me that the package was not found.
Thank you all who contributed.