在 macOS 10.15.1 上执行以不安全方式加载 libcrypto 的脚本 [英] Executing a script that is loading libcrypto in an unsafe way on macOS 10.15.1

查看:63
本文介绍了在 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 的脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆