-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
./emsdk install latest : Installation failed #6723
Comments
This error was caused by did't passing https certs related verifications, you can bypass this error by using default https context, add the following code into "emsdk", and try the same command again. import ssl
ssl._create_default_https_context = ssl._create_unverified_context These two lines of code will globally disabling the verification of https certs, though it's not recommend to use, it did work. |
This may also be related to #6275 , if so then using a newer python may fix it. |
Hi @Becavalier & @kripken :) |
@pierreglibert You're welcome, issue can be closed now. |
I just ran into this issue installing emsdk on a new Mac, even with Python 2.7.15 (the latest Python 2.7) pre-installed. I think there is a better solution than disabling certificate verification. Here is what worked for me:
Step 2 is the key, and the reasoning behind it is explained in /Applications/Python 2.7/ReadMe.rtf, under section [CHANGED in 2.7.15]. Essentially this will "install a curated bundle of default root certificates". @kripken If someone else can confirm this fixes emsdk installs on fresh Macs, perhaps it could be added to https://kripken.github.io/emscripten-site/docs/getting_started/downloads.html#mac-os-x. |
Thanks @erik-larsen, yeah, would be good if others can confirm this, and then we should add it to those docs. |
@erik-larsen Thank you so much for this, worked perfectly for me 🥇 |
I found an easy way on windows to solve this problem.
The default python build in anaconda suite is of version 3.x |
I had also run the install with |
IT WORKS! THANKS! |
Worked with |
you should put the code into emsdk.py |
Hi community :)
I have some loading error ...
I'm on mac osx 10.13.5 & python 2.7.15.
Can you help me please ?
The text was updated successfully, but these errors were encountered: