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?
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With