-1

command line error 2I'm trying to run my django server but keep on getting this error, [Errno 2] No such file or directory.

I tried using the cd manage.py command but also got this error cd : Cannot find path 'C:\Users\nyaknoiton\Desktop\Django 2\manage.py' because it does not exist. command line error

1

2 Answers 2

1

You need to cd into psychology_project first not pychology_project. And then run python manage.py runserver

This is where manage.py lives.

Sign up to request clarification or add additional context in comments.

4 Comments

How do i do that please?
okay i just did cd into psychology_project and it worked but when i run manage.py runserver i get another error: ModuleNotFoundError: No module named 'psychology_app'
I just added another screenshot to show that there is psychology_app and i've let django know that its there. by including it in installed apps
Have you intitialised the psychology_app using python manage.py startapp psychology_app? What is in the psychology_app folder?
0

Firstly (you misspelled it)

cd psychology_project

Then remember to save your manage.py file to disk (Ctrl-s). Finally

python manage.py runserver

1 Comment

still not working

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.