Page 1 of 1

install earlier version of lib

Posted: Wed Dec 26, 2018 12:07 am
by amirfh
How to install specific version of lib , i got this message when try to install logging lib :

>>> import upip
>>> upip.install('micropython-logging==0.4.1')
Installing to: /lib/
Warning: pypi.org SSL certificate is not validated
Error installing 'micropython-logging==0.4.1': Package not found, packages may be partially installed

Re: install earlier version of lib

Posted: Sun Jan 06, 2019 7:52 am
by mattyt
Currently upip can only install the latest version of a package. See upip.py:175.

I'll try and raise a pull request to allow different versions to be installed.

In the meantime the workaround is to simply download the library you require and copy the files to your device.