Home > Net >  installing django in pycharm
installing django in pycharm

Time:10-04

Do I really need to install django in pycharm every time I'm going to run a project? I mean I already did it yesterday and today when I run in the terminal the "python manage.py runserver" it said that

"ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?"

Is there a way to install it just once so I can just run my project or is that how it really works?I'm sorry I am just a beginner please don't judge me.

CodePudding user response:

Run this ..

pip install django

If it doesn't work you can install django manually in Pycharm.. Go to File > Settings > Project > Python Interpreter > Now pycharm will show you the list of modules install the module which you want..

  • Related