-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception: Couldn't load OpenSSL lib , 升级到MACOS 11.5.1后出现 #969
Comments
亲测可以解决问题。 1、pip install https://github.com/mfranciszkiewicz/pyelliptic/archive/1.5.10.tar.gz#egg=pyelliptic def find_crypto_lib():
if sys.platform != 'win32':
# 注释掉下面路径,写绝对路径
# return ctypes.util.find_library('crypto')
return '/usr/lib/libcrypto.dylib' 3、重新运行就不报错了
|
感谢,我试下 |
解决了,感谢@zhetengxiang。 下载 https://github.com/mfranciszkiewicz/pyelliptic/archive/1.5.10.tar.gz#egg=pyelliptic 解压,进入目录 修改内容 如上 zhetengxiang 提供 再安装 sudo python setup.py install |
补充一下,libcrypto.dylib 路径不一定是 |
1、解压pyelliptic-1.5.10后要修改的文件路径是pyelliptic/openssl.py。 |
Traceback (most recent call last):
File "/Users/maoqis/Documents/work/logs/bin/decode_mars_crypt_log_file.py", line 9, in
import pyelliptic
File "build/bdist.macosx-10.9-x86_64/egg/pyelliptic/init.py", line 43, in
File "build/bdist.macosx-10.9-x86_64/egg/pyelliptic/openssl.py", line 637, in
Exception: Couldn't load OpenSSL lib ...
MACOS 11.5.1
pyelliptic==1.5.10
python2 和3 都有该问题。
The text was updated successfully, but these errors were encountered: