gpt4 book ai didi

python - 在 macOS 10.15.1 上执行以不安全方式加载 libcrypto 的脚本

转载 作者:行者123 更新时间:2023-12-03 15:10:48 24 4
gpt4 key购买 nike

每当我使用显然使用 Python 的 AWS CLI 时,我都会收到以下错误。

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。

我的应用程序在 Python 2 上运行(目前),所以我还不能升级 Python。

这是由运行即将不受支持的 Python 版本引起的吗?

最佳答案

pip install --upgrade pip
pip install --upgrade pyOpenSSL

应该为你解决这个问题。它对我有用。

查看更多: https://github.com/aws/aws-cli/issues/4708#issuecomment-567232285

关于python - 在 macOS 10.15.1 上执行以不安全方式加载 libcrypto 的脚本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59081569/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com