Home > database >  Can't run python manage.py runserver
Can't run python manage.py runserver

Time:02-13

Hello~ I have installed django-bootstrap-ui-2.0.0 and django-admin startproject, and tried both python and python3 manage.py runserver. However, it says that no such file or directory. Am I missing some functions that have to pip install? Much thanks!

C:\Users\user\AppData\Local\Programs\Python\Python310\python.exe: can't open file 'C:\\
Users\\user\\PycharmProjects\\Pyshop\\manage.py': [Errno 2] No such file or directory  
PS C:\Users\user\PycharmProjects\Pyshop> 

CodePudding user response:

This could be because you haven't activated the virtual environment. The basic reason is that the system is not able to find manage.py on that location.

  • Related