Changes between Version 1 and Version 2 of Ticket #19344, comment 5


Ignore:
Timestamp:
Nov 22, 2012, 4:56:11 PM (12 years ago)
Author:
Ramiro Morales

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19344, comment 5

    v1 v2  
    33You are right. Sorry guys for my mistake. What I meant was `python /path/to/django-admin.py`.
    44
    5 For example in the Windos case (without virtualenv but I suspect that with virtualenv the problem remains) that script gets installed in the `$PYTHON_INSTALLATION_PATH\Scripts\` dir (usually `C:\pythonXY\Scripts\` and, in such platform, the techniques of associating .py files to the Python interpreter available are very hackish and brittle so it is always better to use the full path and asume there is no magic execution of .py files when they are executed from the command line specfying just their name.
     5For example in the Windows case (without virtualenv but I suspect that with virtualenv the problem remains) that script gets installed in the `$PYTHON_INSTALLATION_PATH\Scripts\` dir (usually `C:\pythonXY\Scripts\` and, in such platform, the techniques of associating .py files to the Python interpreter available are very hackish and brittle so it is always better to use the full path and asume there is no magic execution of .py files when they are executed from the command line specfying just their name.
Back to Top