After updating to v1.40.1 from v1.39.19, I get the error shown below when 
using the emscripten-supplied version of python3. Utilizing my own 
previously installed version of python3 (which has 'requests' installed) 
works fine.

Running 'emcc --clear-ports', as suggested, did not help in this case.

Regards,

Eric

system_libs:INFO: retrieving port: bzip2 from 
https://github.com/emscripten-ports/bzip2/archive/1.0.6.zip
system_libs:ERROR: a problem occurred when using an emscripten-ports 
library.  try to run `emcc --clear-ports` and then run this command again
Traceback (most recent call last):
  File "/Users/eric/emsdk/upstream/emscripten/tools/system_libs.py", line 
1891, in retrieve
    import requests
ModuleNotFoundError: No module named 'requests'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File 
"/Users/eric/emsdk/python/3.7.4_64bit/lib/python3.7/urllib/request.py", 
line 1317, in do_open
    encode_chunked=req.has_header('Transfer-encoding'))
  File "/Users/eric/emsdk/python/3.7.4_64bit/lib/python3.7/http/client.py", 
line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/Users/eric/emsdk/python/3.7.4_64bit/lib/python3.7/http/client.py", 
line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/Users/eric/emsdk/python/3.7.4_64bit/lib/python3.7/http/client.py", 
line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/Users/eric/emsdk/python/3.7.4_64bit/lib/python3.7/http/client.py", 
line 1026, in _send_output
    self.send(msg)
  File "/Users/eric/emsdk/python/3.7.4_64bit/lib/python3.7/http/client.py", 
line 966, in send
    self.connect()
  File "/Users/eric/emsdk/python/3.7.4_64bit/lib/python3.7/http/client.py", 
line 1414, in connect
    server_hostname=server_hostname)
  File "/Users/eric/emsdk/python/3.7.4_64bit/lib/python3.7/ssl.py", line 
423, in wrap_socket
    session=session
  File "/Users/eric/emsdk/python/3.7.4_64bit/lib/python3.7/ssl.py", line 
870, in _create
    self.do_handshake()
  File "/Users/eric/emsdk/python/3.7.4_64bit/lib/python3.7/ssl.py", line 
1139, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate 
verify failed: unable to get local issuer certificate (_ssl.c:1076)

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/6bf6f70f-6307-4318-abc7-2bda9fbe2e97n%40googlegroups.com.

Reply via email to