mac 上的 emsdk 问题
issue with emsdk on mac
我正在尝试使用以下命令在 mac 上设置 emsdk:
./emsdk install latest
我从 git 克隆了 repo。但是,我在 运行 上述命令时收到以下错误:
** 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
非常欢迎任何其他解决问题的建议。
我能够使用 pyenv 将 python 版本升级到 3.8.0。升级帮助我解决了证书问题。
brew install pyenv
pyenv install 3.8.0
pyenv global 3.8.0
或者如果在 emsdk 目录中:
pyenv local 3.8.0
命令 ./emsdk install latest
运行 在 python 升级后成功。
我正在尝试使用以下命令在 mac 上设置 emsdk:
./emsdk install latest
我从 git 克隆了 repo。但是,我在 运行 上述命令时收到以下错误:
** 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
非常欢迎任何其他解决问题的建议。
我能够使用 pyenv 将 python 版本升级到 3.8.0。升级帮助我解决了证书问题。
brew install pyenv
pyenv install 3.8.0
pyenv global 3.8.0
或者如果在 emsdk 目录中:
pyenv local 3.8.0
命令 ./emsdk install latest
运行 在 python 升级后成功。