Modulenotfounderror: No Module Named 'django' Problem In Vs Code
I have installed virtual environment via pip install pipenv for my django project in vs code. Although I had successfully installed virtual environment and django(3.0.5) , but when
Solution 1:
Try this
the issue is that the place where you trying to create virtual environment doesn't contain manage.py file means your manage.py is not present in your project folder thats why you getting this error. Fix below
always use this pattern when creating a project and running virtual envionment
1.) locate to the directory, lets say you are here C:\desktop\projects
2.) now use below commands
pipenv install django==3.0.1
then start the virtual enviorment
pipenv shell
create project
django-admin startproject newproject .
(don't avoid this period)
run server
python manage.py runserver
Post a Comment for "Modulenotfounderror: No Module Named 'django' Problem In Vs Code"