我有一个使用Flask,python3,sqlite和sqlalchemy的网络应用程序但在部署之前我想加密数据库的内容。我已经用谷歌搜索并在这里读到pysqlcipher是要去的路线(如果这是不正确的话,很乐意选择另一个选项)但是在第一个障碍中倒下了:
pip3 install pysqlcipher3
Collecting pysqlcipher3
Using cached pysqlcipher3-1.0.2.tar.gz
Building wheels for collected packages: pysqlcipher3
Running setup.py bdist_wheel for pysqlcipher3 ... done
Running setup.py clean for pysqlcipher3
Failed to build pysqlcipher3
Installing collected packages: pysqlcipher3
Running setup.py install for pysqlcipher3 ... done
Successfully installed pysqlcipher3
然后尝试python3:
Python 3.6.1 (v3.6.1:69c0db5050, Mar 21 2017, 01:21:04)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pysqlcipher3
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'pysqlcipher3'
我无法找到说明或一个简单的示例来启动我的工作。有什么想法吗?