Or probably just use the excellent virtualenv-wrapper :) You can then do things like:
mkvirtualenv foo # to create a venv workon foo # switch to venv foo On May 5, 2014 6:26 PM, "Malik Rumi" <malik.a.r...@gmail.com> wrote: > THANKS! > Yea, it's that 'activate' part that I kept forgetting that got me into > this mess. Maybe I should paste it to my forehead? (-: > > > > On Mon, May 5, 2014 at 2:46 AM, Mike Dewhirst <mi...@dewhirst.com.au>wrote: > >> On 5/05/2014 5:32 PM, Malik Rumi wrote: >> >>> >>> I have several problems. They are: >>> >> >> Try ... >> >> 1. Create a new virtualenv for your project >> >> 2. pip install all the dependencies again (if you don't have a >> requirements file) including Django 1.6 >> >> 3. Retrieve your project code from the repo or backup >> >> 4. Manually copy any changed source (from three levels down) over the >> restored source >> >> 5. Repeat from 1 above except for Django 1.7 in step 2 >> >> Don't forget to activate whichever virtualenv you want to work on. >> >> Good luck >> >> Mike >> >> >> >>> My Django project folder is 3 levels below my virtualenv. >>> >>> Pip freeze: >>> >>> a. on my virtualenv, in the parent folder or the Django project, >>> only gives me the Django-trunk I got from github >>> >>> b. but in the Django project folder, and without the virtualenv, >>> it gives me all 8 packages I’ve been using on my project thus far. >>> >>> >>> c. Note this includes Django 1.6.1, not Django-trunk, which is >>> the beta Django 1.7a2. >>> >>> So clearly I’ve screwed up. The question is, how bad is it, and >>> >>> what do I do about it? >>> >>> thx >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Django users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to django-users+unsubscr...@googlegroups.com >>> <mailto:django-users+unsubscr...@googlegroups.com>. >>> >>> To post to this group, send email to django-users@googlegroups.com >>> <mailto:django-users@googlegroups.com>. >>> >>> Visit this group at http://groups.google.com/group/django-users. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/django-users/7c1fc205- >>> eefe-45fb-9538-bddb1aaf321a%40googlegroups.com >>> <https://groups.google.com/d/msgid/django-users/7c1fc205- >>> eefe-45fb-9538-bddb1aaf321a%40googlegroups.com?utm_medium= >>> email&utm_source=footer>. >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "Django users" group. >> To unsubscribe from this topic, visit https://groups.google.com/d/ >> topic/django-users/Jwp0yd5IXgU/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> django-users+unsubscr...@googlegroups.com. >> To post to this group, send email to django-users@googlegroups.com. >> Visit this group at http://groups.google.com/group/django-users. >> To view this discussion on the web visit https://groups.google.com/d/ >> msgid/django-users/536741C3.5020802%40dewhirst.com.au. >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAKd6oBxPDZYPTesbgR9bTmg_0On34EgKS9kNGsSKyDE7oZSoow%40mail.gmail.com<https://groups.google.com/d/msgid/django-users/CAKd6oBxPDZYPTesbgR9bTmg_0On34EgKS9kNGsSKyDE7oZSoow%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CANpY%2BHnF_rEqSH3OgTjeJTr8Q%2BMkcG5RRLYBYMZOCvpPMBHegA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.