Re: Newbie question regarding uninstalling Django system-wide.

29 views
Skip to first unread message

Mike Dewhirst

unread,
Jul 12, 2016, 8:03:18 PM7/12/16
to django...@googlegroups.com
On 13/07/2016 1:55 AM, Leo wrote:
> I am learning how to use Django. With my first attempt I did not use a
> virtual environment instead installed Django system-wide. Now I have
> learned to utilize virtual environments. Can you help me learn how to
> uninstall the system-wide Django instance? Also, I can't recall if I
> used pip or apt-get. Or do I need to be concerned with this at all,
> meaning will the base install conflict with instances installed in the
> virtual environments?

sudo pip uninstall django

sudo apt-get remove django

The base install is unnecessary if Django is installed in the venv and
it should not conflict.

It is best to avoid any base installs unless you *know* they will be
used by all venvs


>
>
> Your help is appreciated.
>
> Leo
>
> --
> 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
> <mailto:django-users...@googlegroups.com>.
> To post to this group, send email to django...@googlegroups.com
> <mailto:django...@googlegroups.com>.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/638a94f9-8bb8-40c4-80f2-204b0479dc74%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/638a94f9-8bb8-40c4-80f2-204b0479dc74%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

Leo

unread,
Jul 13, 2016, 1:47:33 PM7/13/16
to Django users
Thanks Mike


On Tuesday, July 12, 2016 at 8:03:18 PM UTC-4, Mike Dewhirst wrote:
On 13/07/2016 1:55 AM, Leo wrote:
> I am learning how to use Django. With my first attempt I did not use a
> virtual environment instead installed Django system-wide. Now I have
> learned to utilize virtual environments. Can you help me learn how to
> uninstall the system-wide Django instance? Also, I can't recall if I
> used pip or apt-get. Or do I need to be concerned with this at all,
> meaning will the base install conflict with instances installed in the
> virtual environments?

sudo pip uninstall django

sudo apt-get remove django

The base install is unnecessary if Django is installed in the venv and
it should not conflict.

It is best to avoid any base installs unless you *know* they will be
used by all venvs


>
>
> Your help is appreciated.
>
> Leo
>
> --
> 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
Reply all
Reply to author
Forward
0 new messages