I'm trying to start a django project in Cygwin with: django-admin.py startproject mysite
However, I'm getting the following errors:
C:\Python34\python.exe: can't open file '/cygdrive/c/Python34/Scripts/django-admin.py': [Errno 2] No such file or directory
My PATH in Windows include paths to "django-admin.py":
...;C:\cygwin64;C:\cygwin64\usr\sbin;C:\Python34;C:\Python34\Scripts;C:\Python34\Lib\site-packages\django\bin;...
Instead of using
django-admin runserver
try this
C:\Users\Admin\Desktop\github\django\Scripts\django-admin.py runserver
here the django stands for virtual environment
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.