python - 在 Windows 上安装 Emscripten - Python SSL 根证书
问题描述
从 emcmdprompt.bat 运行“emsdk install latest”会得到以下信息:
Resolving SDK alias 'latest' to '2.0.30'
Resolving SDK version '2.0.30' to 'sdk-releases-upstream-c69458f1bbf3ef5b8da4e934de210659cc9bca04-64bit'
Installing SDK 'sdk-releases-upstream-c69458f1bbf3ef5b8da4e934de210659cc9bca04-64bit'..
Installing tool 'node-14.15.5-64bit'..
Error: Downloading URL 'https://storage.googleapis.com/webassembly/emscripten-releases-builds/deps/node-v14.15.5-win-x64.zip': <urlopen error unknown url type: https>
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.
error: installation failed!
在 Anaconda 提示符下运行 pip install certifi 会给我:
Requirement already satisfied: certifi in c:\...\anaconda\lib\site-packages (2019.6.16)
知道我在这里可能缺少什么吗?
编辑:对于其他背景,如果证书版本很重要,我尝试在 anaconda 提示符中更新它并得到
Collecting certifi
Downloading https://files.pythonhosted.org/packages/05/1b/0a0dece0e8aa492a6ec9e4ad2fe366b511558cdc73fd3abc82ba7348e875/certifi-2021.5.30-py2.py3-none-any.whl (145kB)
|████████████████████████████████| 153kB 344kB/s
Installing collected packages: certifi
Found existing installation: certifi 2019.6.16
ERROR: Cannot uninstall 'certifi'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
解决方案
推荐阅读
- react-native - 我可以在 React Native 未弹出的 Expo 项目中使用 Geolocation 吗?
- java - 加载管理游戏存档的最佳实践?
- git - Git:删除 .gitignore 文件似乎没有任何影响
- php - 如何应用 mysqli_free_result()?
- ios - UITableViewFooter 高度问题
- python - 在 Pandas Python 中从 Excel 导入
- python - 向 Altair 图形添加背景实心填充
- tableau-api - 总结每一列的所有行
- python - 如何使用内置函数在列表中找到最接近目标的值?
- javascript - 无法从 Algolia 中删除对象