Opened 11 years ago
Closed 3 years ago
#21481 closed Cleanup/optimization (wontfix)
Reinstalling Django warning doesn't mention django-admin
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Packaging | Version: | 1.6 |
Severity: | Normal | Keywords: | install |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Hello,
Thank you for developing django. When I install it from source on my Mac, the line that states something like copying django-admin.py from build/blahblahblah to /usr/local/bin/ doesn't do this if there is already a django-admin.py already installed. You might put that in the documentation if a current version of django is sensed. Thanks,
-Mac
Change History (8)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Add the link: https://docs.djangoproject.com/en/dev/topics/install/#remove-any-old-versions-of-django and a message regarding copied files to local bin or remove this message completely and just leave the link.
As is, the warning is incomplete.
========
WARNING!
========
You have just installed Django over top of an existing
installation, without removing it first. Because of this,
your install may now include extraneous files from a
previous version that have since been removed from
Django. This is known to cause a variety of problems. You
should manually remove the
%(existing_path)s
directory and re-install Django.
comment:4 by , 11 years ago
git clone https://github.com/django/django.git
Then sudo python setup.py install
comment:5 by , 11 years ago
Easy pickings: | unset |
---|---|
Triage Stage: | Unreviewed → Accepted |
I'm accepting the ticket with the following scope:
- attempt to detect an existing django-admin.py and add a specific warning for this case.
- if that isn't doable, extend the warning to mention django-admin.py which may be installed outside of
%(existing_path)s
.
comment:6 by , 11 years ago
Component: | Uncategorized → Packaging |
---|---|
Type: | Bug → Cleanup/optimization |
comment:7 by , 10 years ago
Summary: | Install 1.6 Django-admin.py bug in Mac OS X 10.9 → Reinstalling Django warning doesn't mention django-admin |
---|
comment:8 by , 3 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Since virtual environments are recommended and installing Django system-wide is uncommon, this seems obsolete.
It's not entirely clear to me what you are requesting. We recommend uninstalling any old versions of Django before installing a new one.