python - Install pysqlite in virtualenv with python3 support -


i've created virtualenv with:

mkvirtualenv -p /usr/bin/python3.4 django 

after, tried install pysqlite:

pip install pysqlite 

but got:

downloading/unpacking pysqlite   downloading pysqlite-2.6.3.tar.gz (76kb): 76kb downloaded   running setup.py (path:/home/sigo/.virtualenvs/django/build/pysqlite/setup.py) egg_info package pysqlite     traceback (most recent call last):       file "<string>", line 17, in <module>       file "/home/sigo/.virtualenvs/django/build/pysqlite/setup.py", line 85         print "is sphinx installed? if not, try 'sudo easy_install sphinx'."                                                                            ^     syntaxerror: invalid syntax     complete output command python setup.py egg_info:     traceback (most recent call last):    file "<string>", line 17, in <module>    file "/home/sigo/.virtualenvs/django/build/pysqlite/setup.py", line 85      print "is sphinx installed? if not, try 'sudo easy_install sphinx'."                                                                         ^  syntaxerror: invalid syntax 

it seems pip try use python2. how can resolve this?

there no public version of pysqlite python 3.x. python 3.x, sqlite3 module in standard library up-to date version of pysqlite there is.


Comments

Popular posts from this blog

jQuery Mobile app not scrolling in Firefox -

c++ - How to add Crypto++ library to Qt project -

php array slice every 2th rule -