【发布时间】:2015-02-25 09:40:26
【问题描述】:
我有 Python 3.4.2,我尝试在装有 Windows 8 的 PC 上安装 pysqlcipher。 在我的命令提示符中输入以下代码后:
git clone https://github.com/leapcode/pysqlcipher/
cd pysqlcipher
python setup.py build_sqlcipher
我收到以下错误:
File "setup.py", line 64
print "CFLAGS", os.environ['CFLAGS']
^
SyntaxError: Missing parentheses in call to 'print'
似乎是打印的问题。我有Python 3.4.2,这里使用的打印语法对应Python 2.X。我做了很多搜索,但没有找到任何解决方案。
有人知道如何使用 Python 3.4.2 安装 pysqlcipher 吗?
感谢您的帮助!
PS:我已经关注了这个tutorial,所有指示的事情都已经完成了。
【问题讨论】:
标签: python python-3.x encryption sqlite sqlcipher