Uninstall Django completely

前端 未结 10 2184
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-24 10:01

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 give

10条回答
  •  春和景丽
    2020-12-24 10:07

    I had to use pip3 instead of pip in order to get the right versions for the right version of python (python 3.4 instead of python 2.x)

    Check what you got install at: /usr/local/lib/python3.4/dist-packages

    Also, when you run python, you might have to write python3.4 instead of python in order to use the right version of python.

提交回复
热议问题