Couldn't load OpenSSL lib报错怎么处理?
2022-12-08 本文已影响0人
李菜菜同学
Traceback (most recent call last):
File "D:\LDFProject\decode_log_file.py", line 9, in <module>
import pyelliptic
File "D:\Python39\lib\site-packages\pyelliptic\__init__.py", line 43, in <module>
from .openssl import OpenSSL
File "D:\Python39\lib\site-packages\pyelliptic\openssl.py", line 309, in <module>
raise Exception("Couldn't load OpenSSL lib ...")
Exception: Couldn't load OpenSSL lib ...
遇到以上错误如何处理?
1. 在python安装目录D:\Python39\Lib搜索pyelliptic,将pyelliptic及pyelliptic-1.5.8-py2.7.egg-info等文件夹删除
2. https://github.com/mfranciszkiewicz/pyelliptic/archive/1.5.10.tar.gz#egg=pyelliptic下载压缩包
3. 解压后在以下目录执行python setup.py install