Uninstall Django completely

809    Asked by JacobRutherford in Data Science , Asked on May 10, 2021

I uninstalled django on my machine using pip uninstall Django. It says successfully uninstalled whereas when I see django version in python shell, it still gives the older version I installed.

To remove it from python path, I deleted the django folder under /usr/local/lib/python-2.7/dist-packages/.

However sudo pip search Django | more /^Django command still shows Django installed version. How do i completely remove it ?

Answered by Jessica Gibson

Try pip search command does not show installed packages, but search packages in pypi if you have uninstalled django.

Use pip freeze command and grep to see installed packages:

  pip freeze | grep Django


Your Answer

Interviews

Parent Categories