Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 369
crmpicco Avatar asked Nov 28 '19 04:11

crmpicco


1 Answers

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

like image 108
crmpicco Avatar answered Oct 29 '22 19:10

crmpicco