Re: virtualenv setup

2013-01-09 Thread Tom Evans
On Sat, Dec 29, 2012 at 10:01 PM, Phil wrote: > Is it because at the top of my "manage.py" it is pointing to my system wide > python(#!/usr/bin/env python) instead of my virtualenv one? If so how do I > fix this? I tried changing the path at the top of the manage.py file but > didn't seem to do an

Re: virtualenv setup

2013-01-04 Thread Vibhu Rishi
Hi Phil, What OS are you running on ? for ubuntu, you need to have an extra parameter while creating the venv like : $ virtualenv venv --distribute --no-site-packages After that source the environment and pip install the packages pip install Django psycopg2 dj-database-url I would suggest you tr

Re: virtualenv setup

2012-12-29 Thread Sam Lai
It looks like you haven't installed Django in your virtualenv. In your virtualenv directory, look in lib/python2.x/site-packages and see if there is a Django directory in there. You can also try sourcing your venv, then running Python, and entering in the following statement to see if Python can f

Re: virtualenv setup

2012-12-29 Thread Phil
Hi, Thanks for reply. Yeah I activated the source(terminal has "venv" beside my username). I followed instructions here(so I pip installed django etc after getting virtualenv up and running)... https://devcenter.heroku.com/articles/django#prerequisites If I runserver thats when I get the error

Re: virtualenv setup

2012-12-29 Thread Victor Manuel QuiƱones Victor
Hi Phil sorry for the question, but, did you activate your virtualenv source? $ source bin/activate (?) Anyway, I'd try to install django via pip once you I have my virtualenv created and activated. Cheers On Sat, Dec 29, 2012 at 7:01 PM, Phil wrote: > Hi, > > I have python/django working sys