I'm back again with more Django woes. I tried solving this a while back with with you all with no solution yet, and as far as my research goes, there are a few people who have the same issue as I am. I have to use Django 1.1 for compatability reasons and I'm on a Windows machine.
My issue is that no matter what settings I tweak, I simply cannot access the django-admin.py file. I have correctly set the PYTHONPATH, the PATH, and the sys.path variables to include C:\Python27\Scripts, where this file is located, and the following commands yield the following results:
C:\Users\Stephen>C:\Python27\Scripts\django-admin.py startproject mynewproject1 Type 'django-admin.py help' for usage. C:\Users\Stephen>django-admin.py startproject mynewproject1 Type 'django-admin.py help' for usage. C:\Users\Stephen>django-admin.py help Type 'django-admin.py help' for usage. C:\Users\Stephen>python django-admin.py startproject mynewproject1 python: can't open file 'django-admin.py': [Errno 2] No such file or directory
The ONLY command that works is this:
C:\Users\Stephen>python C:\Python27\Scripts\django-admin.py startproject mynewpr oject
Which is clearly a pain in the butt to write. According to the python docs and every stackoverflow topic that I have read, this problem simply does not exist....but I ask you guys ---- what's wrong?
Thanks,
- Dog

New Topic/Question
Reply






MultiQuote





|