You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Warning: micropython.org SSL certificate is not validated #7486
cd mpy-crossmakecd ../ports/unixMICROPY_PY_USSL=1 make submodules MICROPY_PY_USSL=1 make deplibsMICROPY_PY_USSL=1 make
The error is as follows:
$ ./micropython -m upip install <package>Installing to: /home/domdf/.micropython/lib/Warning: micropython.org SSL certificate is not validatedError installing '<package>': , packages may be partially installed
Any updates on this issue? I am running into it while trying to install aioble-central on ESP32 (MicroPython v1.19.1 on 2022-06-18; ESP32 module with ESP32).
This is after connecting the board to WiFi with access to the Internet:
I'm unsure where to go from here, and this issue is one of the top search results, so it seems this just… doesn't work? Or is that package not one that's supported on the ESP32 architecture/port, and the error message is just being unhelpful?
@Jachimo You're right, the error message is being unhelpful, and the actual issue is nothing to do with the SSL certificate. That's just an FYI from upip. The "Package not found" is the important bit.
What's going on here is that upip has been unmaintained for a while and does not have any of the new packages like aioble. We have been working on its replacement mip, which will be included in v1.20, and is currently in the nightly builds.
So the simple answer is, if you can update to nightly firmware, then you will be able to do:
>>> import mip
>>> mip.install("aioble-central")
(The micropython.org server cert will still not be validated, but we're working on that separately).
Alternatively, if you don't want to update the firmware you can also use the mip functionality from mpremote. With the latest published version (0.4.0), you can do
Activity
domdfcoding commentedon Jul 4, 2021
I am encountering the same issue.
Built from master as follows:
The error is as follows:
domdfcoding commentedon Jul 4, 2021
I'm not sure the two issues I'm seeing are related, so I have opened #7487 for the second error.
bar2104y commentedon Jul 4, 2021
Yes, this is one error.
But I'n trying use console on esp8266:
berkut0 commentedon Apr 6, 2022
I confirm.
Still the same error, Micropython 1.18 stable release
But there is an explanation:
https://stackoverflow.com/questions/70934653/cant-install-micropython-module-through-upip-error-message-is-not-clear
Some packages made specifically for micropython install without any problems:
berkut0 commentedon Apr 7, 2022
And more interesting that after successful installation of "micropython" package new error appears — " packages may be partially installed"
Jachimo commentedon Oct 12, 2022
Any updates on this issue? I am running into it while trying to install
aioble-centralon ESP32 (MicroPython v1.19.1 on 2022-06-18; ESP32 module with ESP32).This is after connecting the board to WiFi with access to the Internet:
I'm unsure where to go from here, and this issue is one of the top search results, so it seems this just… doesn't work? Or is that package not one that's supported on the ESP32 architecture/port, and the error message is just being unhelpful?
jimmo commentedon Oct 12, 2022
@Jachimo You're right, the error message is being unhelpful, and the actual issue is nothing to do with the SSL certificate. That's just an FYI from upip. The "Package not found" is the important bit.
What's going on here is that
upiphas been unmaintained for a while and does not have any of the new packages likeaioble. We have been working on its replacementmip, which will be included in v1.20, and is currently in the nightly builds.So the simple answer is, if you can update to nightly firmware, then you will be able to do:
(The micropython.org server cert will still not be validated, but we're working on that separately).
Alternatively, if you don't want to update the firmware you can also use the mip functionality from
mpremote. With the latest published version (0.4.0), you can doSome more notes on upip->mip here: https://github.com/orgs/micropython/discussions/9565#discussioncomment-3837770
Merge pull request micropython#7486 from dhalbert/update-esp-idf
jonnor commentedon Oct 1, 2024
upip has been replaced by mip in MicroPython 1.20, https://github.com/micropython/micropython/releases/tag/v1.20.0
Closing as no longer relevant.