导入错误未定义符号 EVP_MD_size

问题描述

我的项目需要帮助。目前正在学习本教程 https://charlesleifer.com/blog/encrypted-sqlite-databases-with-python-and-sqlcipher/

在从 python 部分连接到加密的 ddatabase 下,我的树莓派遇到了这个问题,即; ImportError: /home/pi/.local/lib/python3.7/site-packages/pysqlcipher3/_sqlite3.cpython-37m-arm-linux-gnueabihf.so: undefined symbol: EVP_MD_size 我不知道出了什么问题。这是整行代码错误

Python 3.7.3 (default,Jan 22 2021,20:04:44) 
[GCC 8.3.0] on linux
Type "help","copyright","credits" or "license" for more information.
>>> from pysqlcipher3 import dbapi2 as sqlcipher
Traceback (most recent call last):
  File "<stdin>",line 1,in <module>
  File "/home/pi/.local/lib/python3.7/site-packages/pysqlcipher3/dbapi2.py",line 33,in <module>
    from pysqlcipher3._sqlite3 import *
ImportError: /home/pi/.local/lib/python3.7/site-packages/pysqlcipher3/_sqlite3.cpython-37m-arm-linux-gnueabihf.so: undefined symbol: EVP_MD_size```

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)