Cannot create Django Project on Windows
When trying to create a Django project on Windows, I get:
Expected django-admin does not exist: v:\bin\scripting\python\3.9.5\python-3.9.5.amd64\django-admin
I have a portable Python installation (winpython) which places the various package-specific executables/scripts under v:\bin\scripting\python\3.9.5\python-3.9.5.amd64\Scripts
, also django-admin (seems to be standard to me). Up to now it was sufficient to include this directory in the path. But this does not work with Wings Django project setup.
Comments
It looks like Wing looks for django-admin[.py] in the same directory as python.exe, which in the test installations I have is also in the Scripts dir. Is this different in portable Python?
Also, did you create a Python env or just use the base install? A possible work-around would be to create a pipenv from the second screen of the New Project dialog.
For winpython, python.exe is one level up in
v:\bin\scripting\python\3.9.5\python-3.9.5.amd64
.I would prefer to avoid this.