pjz/micropython-wiegand

Can not install by upip

Closed this issue · 2 comments

On macOS:

$ micropython -m upip install -p lib micropython-wiegand
Installing to: lib/
Warning: pypi.org SSL certificate is not validated
Error installing 'micropython-wiegand': , packages may be partially installed

On ESP8266:

>>> import network
>>> sta_if = network.WLAN(network.STA_IF)
>>> sta_if.active(True)
>>> sta_if.connect('xxx', 'xxx')
>>> sta_if.ifconfig()
('192.168.0.192', '255.255.255.0', '192.168.0.1', '213.46.172.37')
>>> import upip
>>> upip.install('micropython-wiegand')
Installing to: /lib/
Warning: pypi.org SSL certificate is not validated
Error installing 'micropython-wiegand': , packages may be partially installed

Both micropython v. 1.9.4

pjz commented

per micropython/micropython#3753 you need to upgrade your version of micropython. The real issue isn't the package, it's the SSL cert checking.