Line 14 of .py file:
dotenv.read_dotenv()
Yields this error:
AttributeError: 'module' object has no attribute 'read_dotenv'
(I'm a noob in training... Appreciate the help)
I had the problem with Django, what solved it for me is uninstalling dotenv and python-dotenv and then reinstall django-dotenv
pip uninstall dotenv
pip uninstall python-dotenv
pip install django-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