I installed psycopg2 in virtualenv using easy_install psycopg2
. I did not see any errors and looks like installation went fine.. there is an egg file created in the site-packages dir for psycopg2..
but when I run import psycopg2 in the interpreter, I am getting following error.. any clue? How can I fix it.. any other way to install psycopg2 in virtualenv..
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "builddist.win32eggpsycopg2\__init__.py", line 69, in <module>
File "builddist.win32eggpsycopg2\_psycopg.py", line 7, in <module>
File "builddist.win32eggpsycopg2\_psycopg.py", line 6, in __bootstrap__
Thanks.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…