rigglemania / pysqlcipher3

Python 3 bindings for SQLCipher
zlib License
138 stars 42 forks source link

pysqlcipher3 installation #12

Closed Xuepaopao closed 6 years ago

Xuepaopao commented 6 years ago

Pysqlcipher3 shows that the installation was successful through the PIP installation, but the package was not available at the time of import and the library file did not exist.The system is Windows.

Error reporting through source code compilation installation is not sqlite. H

Endogen commented 6 years ago

I have the same issue. I'm on macOS and i can install the pip module via pip3 install pysqlcipher3 and i get this:

Collecting pysqlcipher3
  Using cached https://files.pythonhosted.org/packages/96/82/105fa83608956f0f4270534845dd4683eba548eacee371ccc01dab7a8856/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

But if i then use this in my code

from pysqlcipher3 import dbapi2 as sqlcipher

it's not working since the module is not installed:

ModuleNotFoundError: No module named 'pysqlcipher3'
Xuepaopao commented 6 years ago

@Endogen Have you tried source code compilation and installation

Endogen commented 6 years ago

Havent tried it yet but i would think that it's working. But i would be much more comfortable with installing it via PIP.

Xuepaopao commented 6 years ago

@Endogen okay Thank you for answer my question

HyokaChen commented 6 years ago

@Xuepaopao I also face this issue in Ubuntu image

use pip, it shows complete, but can not find this module at site-packages.

Endogen commented 6 years ago

@rigglemania I think this pip module should be removed

rigglemania commented 6 years ago

Since I don't have the time to figure out these issues, I went ahead and removed the pip module.

hearge commented 5 years ago

i have the same problem

elouanj commented 4 years ago

same

phanirithvij commented 4 years ago

same problem here

AndreasFfm2312 commented 3 years ago

error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ most probably missing.... Check with --verbose with the installation.

Monogi commented 3 years ago

check this https://github.com/Monogi/pysqlcipher3_install_win10