This is due to an old bundled Python distribution in emsdk for Windows;
emsdk needs to update from Python 2.7.5 to 2.7.14 which includes more
current SSL libraries.

As a workaround, install Python 2.7.14 from python.org and run the script
through it manually:

  C:\Python27\python emsdk install latest

Note that Python 3.x should also work for installing binaries if you happen
to have it installed, but there's a bug in emsdk's Visual Studio detection
which causes it to be incompatible with Python 3 when building things from
source - https://github.com/juj/emsdk/issues/135 - should be easy to fix in
future versions.

-- brion

On Thu, Feb 22, 2018 at 8:48 PM, David Brickhill <[email protected]>
wrote:

> I'm on Windows 10.  Upon trying to install the latest Emscripten SDK, and
> following the instructions to unzip, then run emsdk update, then run emsdk
> install latest, I get successful download & unzip of several packages
> before failing on the download from github.   Is there a workaround for
> this issue?  Entire output below.
>
> C:\emscripten>emsdk install latest
> Installing SDK 'sdk-1.37.34-64bit'..
> Installing tool 'clang-e1.37.34-64bit'..
> Downloading: C:/emscripten/zips/emscripten-llvm-e1.37.34.zip from
> https://s3.amazonaws.com/mozilla-games/emscripten/
> packages/llvm/tag/win_64bit/emscripten-llvm-e1.37.34.zip, 214709668 Bytes
>  Unpacking 'C:/emscripten/zips/emscripten-llvm-e1.37.34.zip' to
> 'C:/emscripten/clang/e1.37.34_64bit'
> Done installing tool 'clang-e1.37.34-64bit'.
> Installing tool 'node-8.9.1-64bit'..
> Downloading: C:/emscripten/zips/node-v8.9.1-win-x64.zip from
> https://s3.amazonaws.com/mozilla-games/emscripten/
> packages/node-v8.9.1-win-x64.zip, 16940179 Bytes
>  Unpacking 'C:/emscripten/zips/node-v8.9.1-win-x64.zip' to
> 'C:/emscripten/node/8.9.1_64bit'
> Done installing tool 'node-8.9.1-64bit'.
> Installing tool 'python-2.7.5.3-64bit'..
> The contents of file 'python_2.7.5.3_64bit.zip' already exist in
> destination 'C:/emscripten/python/2.7.5.3_64bit', skipping.
> Done installing tool 'python-2.7.5.3-64bit'.
> Installing tool 'java-8.152-64bit'..
> Downloading: C:/emscripten/zips/portable_jre_8_update_152_64bit.zip from
> https://s3.amazonaws.com/mozilla-games/emscripten/packages/portable_jre_8_
> update_152_64bit.zip, 69241499 Bytes
>  Unpacking 'C:/emscripten/zips/portable_jre_8_update_152_64bit.zip' to
> 'C:/emscripten/java/8.152_64bit'
> Done installing tool 'java-8.152-64bit'.
> Installing tool 'emscripten-1.37.34'..
> Error downloading URL 'https://github.com/kripken/
> emscripten/archive/1.37.34.zip': <urlopen error [Errno 1] _ssl.c:504:
> error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol
> version>
> Installation failed!
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to