Hi Stan, how did you install Django? As a system package via the system's package manager or via pip. If its the system package manager, please raise that bug in the bug tracker of your Linux distribution. If the answer is "via pip", from where? PyPI or something obscure?
As Collin already wrote, Django uses "/usr/bin/env python" for years. /Markus On April 1, 2015 3:58:13 PM GMT+02:00, Collin Anderson <cmawebs...@gmail.com> wrote: >Hi Stan, > >In the source, it's looks like it's been using #!/usr/bin/env python >for >almost 10 years: >https://github.com/django/django/blame/master/django/bin/django-admin.py > >My quick guess is that gets modified when installing. Did you use the >newer >version of python to install django? > >Collin > >On Wednesday, April 1, 2015 at 7:46:34 AM UTC-4, Stan wrote: >> >> Hi devs, >> >> Is there a good reason for having the shebang line in django-admin.py >at >> #!/usr/bin/python >> "instead" of #!/usr/bin/env python ? >> >> My problem is I have a newer version of Python installed in >> */usr/local/opt/* declared in my PATH >> that I want to test but the hardcoded path to /usr/bin/python ignore >the >> PATH value. >> >> I know that virtualenv is the way to go... >> >> Thanks ! >> >> -- >> Stan >> -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at http://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/FEBDCB09-96A0-409D-8801-C674105A881B%40markusholtermann.eu. For more options, visit https://groups.google.com/d/optout.