Reputation: 111
I am setting up an imageboard
that uses Django
and when i try to load manage.py
for the first time i am greeted with this error message
Traceback (most recent call last):
File "./manage.py", line 3, in <module>
import dotenv
ImportError: No module named 'dotenv'
I have tried using python-dotenv rather than dotenv and it still doesn't work. Any solution for this?
Upvotes: 11
Views: 24720
Reputation: 3629
Do you have dotenv
installed (and not Python-dotenv
)?
Python-dotenv
and dotenv
seem to cause conflicts when you have those both installed. Make sure you uninstall dotenv first, and uninstall python-dotenv too for good measure:
pip uninstall dotenv
pip uninstall python-dotenv
pip install python-dotenv
Upvotes: 24