I am trying to decrypt one database file using Python 3.7. To decrypt it, I have to use pysqlcipher3
version for python 3.7. To install it, I have tried by using both commands:
pip3 install pysqlcipher3
and
pip install pysqlcipher3
and both the commands have showed successful installation of the pysqlcipher
package. However, when I try to import pysqlcipher3
in my Python project by using this line:
from pysqlcipher3 import dbapi2 as sqlite
it displays this error:
ModuleNotFoundError: No module named 'pysqlcipher3
I have checked various GitHub projects, but none of them provide a clear working solution. The Python packages website says to install libsqlcipher
in your OS but this time the issue is same, no documentation and link regarding for the installation of libsqlcipher
for Windows 10. Can anyone provide me with proper installation steps, or any document, or any video tutorial, regarding the same? Or is there some issue with the import statement?
pip.exe
that you called is the one for the environment you don't expect. Navigate to the folder underPython37
wherepip.exe
is installed (in Windows it is inScripts
) and run it from there. – Vestrywhich pip
) with the python interpeter you are using – Balboa