wsvincent / djangoforprofessionals

Source code for Django for Professionals 4.0
https://djangoforprofessionals.com/
MIT License
633 stars 265 forks source link

CH8 - Environment Variables - Import environs could not be resolved #151

Closed Fenix890 closed 2 years ago

Fenix890 commented 2 years ago

Hi, I am working on Mac and have been able to follow along up to this point. I installed environs in Zsh using

docker-compose exec web pipenv install 'environs[django]==8.0.0'

The installation proceeds without issues. However, when I try to import environs into the settings.py file, I get an error saying "Import environs could not be resolved Pylance (report missing imports)". Any idea on why it's not being recognized?