If this is a new environment with existing source code, did you install all the requirements? eg, is there a requirements.txt file in the project root, and did you execute pip install -r requirements.txt when the virtual env was activated?
If so, try running pip install python-dotenv Your error message says it can't find that module, so I suspect the python-dotenv package hasn't been installed to your virtualenv -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/189476e6-22b6-4caa-9f74-beb24999c3c2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

