Changes between Version 1 and Version 2 of Ticket #19344, comment 5
- Timestamp:
- Nov 22, 2012, 4:56:11 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #19344, comment 5
v1 v2 3 3 You are right. Sorry guys for my mistake. What I meant was `python /path/to/django-admin.py`. 4 4 5 For example in the Windo s 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.5 For 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.