Sep-21-2022, 09:11 AM
Hi,
I have migrated to a mac os 12.6 with Python 3.10.7, and scripts involving ssl and hashing now complain with the error
But after installing openssl with homebrew, the scripts work if I execute them within the openssl directory:
My question is: how do I tell python to consider loading relevant imports from that directory? I linked to /usr/local/lib but does not work either.
Cheers,
j
I have migrated to a mac os 12.6 with Python 3.10.7, and scripts involving ssl and hashing now complain with the error
Error:/Library/Frameworks/Python.framework/Versions/3.10/Resources/Python.app/Contents/MacOS/Python is loading libcrypto in an unsafe way
zsh: abort
I tried to solve it with:Output:python3 -m pip cache purge
python3 -m pip install --upgrade cryptography
python3 -m pip install --upgrade pyopenssl
Unsuccessfully.But after installing openssl with homebrew, the scripts work if I execute them within the openssl directory:
Output:cd /opt/homebrew/opt/openssl@3/lib/
So it is a library path related issue.My question is: how do I tell python to consider loading relevant imports from that directory? I linked to /usr/local/lib but does not work either.
Cheers,
j