Executing a script that is loading libcrypto in an unsafe way on macOS 10.15.1

狂风中的少年 提交于 2020-01-14 09:51:50

问题


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

I am running it on macOS 10.15.1 (19B88), kernel version: Darwin 19.0.0.

My application is running on Python 2 (for now) so I can't upgrade Python quite yet.

Is this caused by running a soon-to-be-unsupported version of Python?


回答1:


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

should resolve this for you. It has worked for me.

See more at: https://github.com/aws/aws-cli/issues/4708#issuecomment-567232285



来源:https://stackoverflow.com/questions/59081569/executing-a-script-that-is-loading-libcrypto-in-an-unsafe-way-on-macos-10-15-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!