Thursday, November 24, 2011

Re: how to uninstall the django version

I installed django and python  in a different directory but it is still using /usr/local/bin and not python 2.7 and gives path error. Should I delete the python2.6 version for it to work with 2.7?

On Tue, Nov 22, 2011 at 4:32 PM, Andre Terra <andreterra@gmail.com> wrote:
Ideally, after removing django, you should NOT install it on your site-packages this time around.

Instead, install virtualenv[1] and proceed from there. Learn it. It will pay off!

Bonus points if you use pip[2][3] as well.



Cheers,
AT

[1] http://pypi.python.org/pypi/virtualenv
[2] http://pypi.python.org/pypi/pip
[3] http://www.saltycrane.com/blog/2009/05/notes-using-pip-and-virtualenv-django/




On Tue, Nov 22, 2011 at 2:15 PM, Nikhil Verma <varma.nikhil22@gmail.com> wrote:

Hey ram

If you are in  ubuntu (linux/unix) you need to got to 
1) /usr/local/lib/python2.6/dist-packages
2) when you do ls there will be directory called django.
3) do rm -rf django.
By doing this django will be removed.Now you can install any version of django you want.

If you are windows you need to program files then python2.x then agin in site-packages delete the django folder and you are good to install the required version you want.(What i remember ?)

Please specify your environment conditions also.

Hope this may help you !!!!!!!!!!!
--
Regards
Nikhil Verma
+91-958-273-3156


On Tue, Nov 22, 2011 at 5:39 PM, ram <navyanemurugommula@gmail.com> wrote:
i want to uninstall my django version (1.3.1) and again i want to
install the same version.can any one say me how to solve it.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.



--
TANYA

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment