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


- YouTube API v3 返回截断的观看记录 2022-01-01
- CTR 中的 AES 如何用于 Python 和 PyCrypto? 2022-01-01
- 检查具有纬度和经度的地理点是否在 shapefile 中 2022-01-01
- 我如何透明地重定向一个Python导入? 2022-01-01
- 使用公司代理使Python3.x Slack(松弛客户端) 2022-01-01
- 计算测试数量的Python单元测试 2022-01-01
- 使用 Cython 将 Python 链接到共享库 2022-01-01
- 如何使用PYSPARK从Spark获得批次行 2022-01-01
- 我如何卸载 PyTorch? 2022-01-01
- ";find_element_by_name(';name';)";和&QOOT;FIND_ELEMENT(BY NAME,';NAME';)";之间有什么区别? 2022-01-01