T
T
Tim2452020-06-09 22:15:09
Django
Tim245, 2020-06-09 22:15:09

Why doesn't python manage.py runserver work?

I write python manage.py runserver but nothing happens5edfdfba56ad2385437782.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sotanodroid, 2020-06-10
@sotanodroid

Check if you are in the directory with your project. Check which python interpreter you are using. Whether you use a virtual environment or not, whether you have django installed or not.
But most likely, since you are on Windows, you do not have a symlink configured. In this case, follow the advice from the official docs:
https://docs.djangoproject.com/en/3.0/ref/django-a...

For Windows users, who do not have symlinking functionality available, you can copy django-admin.exe to a location on your existing path or edit the PATH settings (under Settings - Control Panel - System - Advanced - Environment...) to point to its installed location.

You should have it here %LOCALAPPDATA%\Programs\Python\Python36\Scripts
But it's better to develop under Linux (at least on a virtual machine, vagrant)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question