我试图使用以下命令在mac上安装emsdk:
./emsdk install latest我从吉特克隆了回购。但是,在运行上面提到的命令时,我会得到以下错误:
** NOTICE **: The default SDK changed from `fastcomp` to `upstream`.
If you have problems, or wish to revert back to fastcomp for some other reason
you can add `-fastcomp` to explicitly install that fastcomp-based
SDK, .e.g ./emsdk install latest-fastcomp.
Installing SDK 'sdk-releases-upstream-b024b71038d1291ed7ec23ecd553bf2c0c8d6da6-64bit'..
Installing tool 'releases-upstream-b024b71038d1291ed7ec23ecd553bf2c0c8d6da6-64bit'..
Error: Downloading URL 'https://storage.googleapis.com/webassembly/emscripten-releases-builds/mac/b024b71038d1291ed7ec23ecd553bf2c0c8d6da6/wasm-binaries.tbz2': <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:726)>
Warning: Possibly SSL/TLS issue. Update or install Python SSL root certificates (2048-bit or greater) supplied in Python folder or https://pypi.org/project/certifi/ and try again.
Installation failed!我试过运行下面的程序来解决这个问题,但是它没有解决这个问题。
pip install certifi任何其他解决这一问题的建议都将受到欢迎。
发布于 2019-11-29 01:35:49
我能够使用pyenv将python版本升级到3.8.0。升级帮助我颁发了证书。
brew install pyenv
pyenv install 3.8.0
pyenv global 3.8.0 或者如果在emsdk目录中:
pyenv local 3.8.0在python升级之后,命令./emsdk install latest成功运行。
https://stackoverflow.com/questions/59093079
复制相似问题