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

查看:2376
本文介绍了执行在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天全站免登陆