user3476582
user3476582

Reputation: 85

Unable to create a project in Django

I tried both methods but I am unable to understand what's wrong, I'm using django 1.11.7, it was working a few months ago. I only have one python version installed.

I get this system message:

C:\WINDOWS\system32>django-admin.py startproject wisdompets

Unable to create process using 'c:\program files\python36\python.exe "C:\Program Files\Python36\Scripts\django-admin.py" startprojects wisdompets'

C:\WINDOWS\system32>django-admin startproject test_project

Fatal error in launcher: Unable to create process using '"'

Upvotes: 0

Views: 525

Answers (3)

user3476582
user3476582

Reputation: 85

This was not the most elegant walkaround but I managed to fix it by uninstalling both python and django then reinstalling them.

Upvotes: 0

Vipin Gupta
Vipin Gupta

Reputation: 890

Did you activate your virtual environment where Django was installed?

Maybe you had installed Django in a virtual environment and your system might not have Django.

Upvotes: 1

Kurian Benoy
Kurian Benoy

Reputation: 989

It should be : django-admin startproject projectname

For doubts refer here: https://docs.djangoproject.com/en/1.11/intro/tutorial01/

Upvotes: 0

Related Questions