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
基础教程推荐
- 在 Celery 工作人员中捕获 Heroku SIGTERM 以优雅地关 2022-01-01
- 尝试制作WhatsApp机器人 2022-01-01
- 由Python将MP3转换为MIDI(类型错误:无法加载插件:mtg-Melodia:Melodia) 2022-01-01
- pyserial - 可以从线程 a 写入串行端口,是否阻塞从线程 b 读取? 2022-01-01
- numpy float:比算术运算中内置的慢 10 倍? 2022-01-01
- 与常规 dict 相比,Python manager.dict() 非常慢 2022-01-01
- Discord.py 缺少必需的参数 2022-01-01
- 用 Python 编写 Fortran 无格式文件 2022-01-01
- 使用生成器和迭代器时 Python 多循环失败 2022-01-01
- 将 x 轴刻度更改为自定义字符串 2022-01-01
