rigglemania / pysqlcipher3

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

Failed to install on windows #20

Open liudonghua123 opened 4 years ago

liudonghua123 commented 4 years ago

I have a program needs this package, so I try to install via pip, but I got the following errors.

D:\code\python\wechat-db-decrypt>pip install pysqlcipher3
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting pysqlcipher3
  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/a4/06/1d56bdec3129eff6dd54323d249784ccd90ce03c8cae7870d45e434bae77/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\liu.d.h\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\LIUD~1.H\\AppData\\Local\\Temp\\pip-install-clvxxsqb\\pysqlcipher3\\setup.py'"'"'; __file__='"'"'C:\\Users\\LIUD~1.H\\AppData\\Local\\Temp\\pip-install-clvxxsqb\\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\LIUD~1.H\AppData\Local\Temp\pip-wheel-233ttn04'
  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

D:\code\python\wechat-db-decrypt>python via.py
Traceback (most recent call last):
  File "via.py", line 18, in <module>
    from pysqlcipher3 import dbapi2 as sqlite
ModuleNotFoundError: No module named 'pysqlcipher3'

D:\code\python\wechat-db-decrypt>