导入错误未定义符号 EVP_MD_size

时间:2021-05-17 01:26:10

标签: python python-3.x raspberry-pi raspberry-pi4 pysqlcipher

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

0 个答案:

没有答案
相关问题