1👍
✅
Before using of virtual env you should activate it. Execute env\activate
or env\bin\activate
. Not a windows guy so I’m not sure which path virtualenv uses on Windows 🙂
0👍
You have to activate virtualenv. Go to env/Scripts
directory and run activate.bat
. Then go to your main project directory and try again python manage.py runserver
. If you still see No module named 'django'
make sure that django is installed in this environment try pip install django
.
👤Szel
- [Answer]-Url – issues when rendering search results with Haystack / Whoosh jquery
- [Answer]-BootStrap Django Jquery Modal Not Closing on Ajax Call Submit
- [Answer]-How to organize and access URLS and TEMPLATES in django
- [Answer]-Django multiple foreignkeys to the same parent class
- [Answer]-Form not being loaded into template
Source:stackexchange.com