我的项目需要帮助。目前正在关注本教程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```