how to uninstall the django version

7,565 views
Skip to first unread message

ram

unread,
Nov 22, 2011, 7:09:05 AM11/22/11
to Django users
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.

Nikhil Verma

unread,
Nov 22, 2011, 11:15:21 AM11/22/11
to django...@googlegroups.com

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 <navyanemu...@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...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.



Andre Terra

unread,
Nov 22, 2011, 11:32:22 AM11/22/11
to django...@googlegroups.com
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/

TANYA

unread,
Nov 24, 2011, 1:51:53 PM11/24/11
to django...@googlegroups.com
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?

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



--
TANYA

Siddharth Tanna

unread,
Jun 3, 2015, 7:22:56 AM6/3/15
to django...@googlegroups.com
copy the file named django-admin from django folder in c: and paste it in python folder[root directory]

Luis Zárate

unread,
Jun 6, 2015, 11:57:42 AM6/6/15
to django...@googlegroups.com
If you do a virtual environment with pip it is easy.

$ pip uninstall django



2015-06-02 23:45 GMT-06:00 Siddharth Tanna <s.tan...@gmail.com>:
copy the file named django-admin from django folder in c: and paste it in python folder[root directory]

--
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...@googlegroups.com.

To post to this group, send email to django...@googlegroups.com.



--
"La utopía sirve para caminar" Fernando Birri


Reply all
Reply to author
Forward
0 new messages