Pysqlcipher on ubuntu with virtualenv - SyntaxError: invalid syntax


#1

i everyone,

I’m following this tutorial to install pysqlcipher.

I’m working on Ubuntu 14.04 LTS. I have created a virtual environment with “virtualenv” to use Python 3.4. Despite the tutorial (of the link above), I cannot success to install sqlcipher! The installation crashes when I run this:

python setup.py build_sqlcipher

The error message is this one:

  File "setup.py", line 64
    print "CFLAGS", os.environ['CFLAGS']
                 ^
SyntaxError: invalid syntax

Would you have an idea to help me please? Thanks a lot I you can bring me to the solution.