Executing a script that is loading libcrypto in an unsafe way on macOS 10.15.1(在 macOS 10.15.1 上执行以不安全方式加载 libcrypto 的脚本)
问题描述
每当我使用显然使用 Python 的 AWS CLI 时,我都会收到以下错误.
Whenever I use the AWS CLI, which obviously uses Python, I get the following error.
aws --version
WARNING: Executing a script that is loading libcrypto in an unsafe way. This will fail in a future version of macOS. Set the LIBRESSL_REDIRECT_STUB_ABORT=1 in the environment to force this into an error.
aws-cli/1.16.15 Python/2.7.16 Darwin/19.0.0 botocore/1.12.5
我在 macOS 10.15.1 (19B88) 上运行它,内核版本:Darwin 19.0.0.
I am running it on macOS 10.15.1 (19B88), kernel version: Darwin 19.0.0.
我的应用程序在 Python 2 上运行(目前),所以我还不能升级 Python.
My application is running on Python 2 (for now) so I can't upgrade Python quite yet.
这是由于运行即将不受支持的 Python 版本引起的吗?
Is this caused by running a soon-to-be-unsupported version of Python?
推荐答案
pip install --upgrade pip
pip install --upgrade pyOpenSSL
应该为您解决这个问题.它对我有用.
should resolve this for you. It has worked for me.
查看更多信息:https://github.com/aws/aws-cli/issues/4708#issuecomment-567232285
这篇关于在 macOS 10.15.1 上执行以不安全方式加载 libcrypto 的脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在 macOS 10.15.1 上执行以不安全方式加载 libcrypto
基础教程推荐
- 使用大型矩阵时禁止 Pycharm 输出中的自动换行符 2022-01-01
- 在同一图形上绘制Bokeh的烛台和音量条 2022-01-01
- 修改列表中的数据帧不起作用 2022-01-01
- 在Python中从Azure BLOB存储中读取文件 2022-01-01
- Plotly:如何设置绘图图形的样式,使其不显示缺失日期的间隙? 2022-01-01
- 无法导入 Pytorch [WinError 126] 找不到指定的模块 2022-01-01
- PANDA VALUE_COUNTS包含GROUP BY之前的所有值 2022-01-01
- 包装空间模型 2022-01-01
- PermissionError: pip 从 8.1.1 升级到 8.1.2 2022-01-01
- 求两个直方图的卷积 2022-01-01
