On Saturday, July 14, 2012 9:56:54 PM UTC-4, Doug S wrote: > > Hello django people, > I'm just installing my PostgreSQL backend for my django projects that I > install in isolated virtualenv's > I've followed what seem like easy installation instructions here: > http://initd.org/psycopg/install/ > I have installed python-dev, libpq-dev and > also postgresql-server-dev-9.1 > I workon my virtualenv and use its pip installation to install psycopg2: > (env) $ sudo pip install psycopg2 > It appears to install successfully: > Successfully installed psycopg2 > but when I use yolk to list my virtualenv packages or look in my > site-packages for my virtualenv or try to import psycopg2 I find that it is > not installed in the virtualenv like I thought it would be. > I found I do have a psycopg2 installed in my system wide python > installation and I'm not sure if my attempt to install it locally actually > installed it globally or if the global installation was there to begin with > from some set up installation I did using someone else's code ( that I > don't pretend to understand ) > > Two questions: > 1) why didn't it install like I expected? > 2) do I want psycopg2 insalled in my local virtualenv's python > installation for django? or should it be in my global python installation? > >
-- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/u-JMJisgEwkJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

