connecting django to postgres on Windows7- issue with install of psycopg2

17 views
Skip to first unread message

jogaserbia

unread,
Nov 6, 2014, 4:33:41 PM11/6/14
to django...@googlegroups.com
Hi All,

I am trying use postgres with Django for the first time.  I successfully downloaded psycopg2 through this site:


It is in my main site-libraries.   However, when I try to run the same command in my virtual environment (when the virtualenv is active)  it does not install it there, but tells me it is already installed, and has the address of the main install on my c drive. 

Any thoughts would be appreciated.



Ivan

jogaserbia

unread,
Nov 6, 2014, 6:38:58 PM11/6/14
to django...@googlegroups.com
In case anyone comes across this same issue.  

What I did was to navigate to the Scripts folder in the virtual environment where I want it. 

Then,  I ran this command:

(virtualenvironment) C:\(path to environment where I want psycopg2)\Scripts>python easy_install.exe c:\psycop
g2-2.5.4.win-amd64-py3.4-pg9.3.5-release.exe
Reply all
Reply to author
Forward
0 new messages