Windows, Visual studio, django. I tried to install python-dotenv: https://pypi.org/project/python-dotenv/#getting-started.
But when I want to import this command, I get error: Import "dotenv" could not be resolvedPylancereportMissingImports.
I made such imports: (venv) PS C:\Users... pip3 install python-dotenv Requirement already satisfied: python-dotenv in c:\users...\venv\lib\site-packages (0.19.0).
But import doesn't work. What can be wrong?
Try to change your Python version if you have more than 1. I got into trouble with the 3.10.0 and I changed it to 3.9.6.
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