-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
from pysqlcipher3 import dbapi2 as sqlite (no module named 'pysqlcipher3' #21
Comments
Did you solve the problem? First, using pip doesn't works for me. so I use other way https://github.com/sqlitebrowser/sqlitebrowser/wiki/Win64-setup-%E2%80%94-Compiling-SQLCipher in the above page, you can install sqlcipher. Second, now we can install pysqlcipher3
Follow the instructions on the README.md page.
and move sqlite3.lib sqlcipher.lib files to the
and after this all.. below commands will work.
and if this not works you have few things to do go to below directory
and you can see several header files and because .. your using virtual machine then you can go to below folder
and move sqlcipher.dll file to above folder and after this all.. you can use pysqlcipher3 library |
I saw this error ( This warning while pip installing is important:
You need This fixed it on ubuntu: sudo apt-get install libsqlcipher-dev (must be run before On my macbook, I think you want: brew install sqlcipher |
With MacOS Monterey on an M1 with Python 3.10 I just had to do the following procedure to get pysqlcipher3 working again:
|
in virtual environment, i type pip install pysqlcipher3. Seems building ok but having failed msg like below:
(venv) c:\Users\user\Desktop\ty3\venv\Scripts>pip install pysqlcipher3
Collecting pysqlcipher3
Using cached pysqlcipher3-1.0.3.tar.gz (100 kB)
Building wheels for collected packages: pysqlcipher3
Building wheel for pysqlcipher3 (setup.py) ... done
WARNING: Legacy build of wheel for 'pysqlcipher3' created no files.
Command arguments: 'C:\Users\user\Desktop\ty3\venv\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\user\AppData\Local\Temp\pip-install-iqf9_056\pysqlcipher3\setup.py'"'"'; file='"'"'C:\Users\user\AppData\Local\Temp\pip-install-iqf9_056\pysqlcipher3\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\user\AppData\Local\Temp\pip-wheel-4kesfxr6'
Command output: [use --verbose to show]
Running setup.py clean for pysqlcipher3
Failed to build pysqlcipher3
Installing collected packages: pysqlcipher3
Running setup.py install for pysqlcipher3 ... done
Successfully installed pysqlcipher3
WARNING: You are using pip version 20.2.3; however, version 20.2.4 is available.
You should consider upgrading via the 'C:\Users\user\Desktop\ty3\venv\Scripts\python.exe -m pip install --upgrade pip' command.
Then i go to python and and type command: from pysqlcipher3 import dbapi2 as sqlite
Failed with below msg:
I am using Win 10. I have sourced this problem but still don't know how to fix it. I am new to Python. Need help please.
The text was updated successfully, but these errors were encountered: