ModuleNotFoundError: No module named 'decouple' while creating a flask URL shortener app

148 Views Asked by At

I ran into this error while trying to initiate my database, even though I have python-decouple installed. I am new to programming so I will attach images of the error to see if anybody can figure out exactly what the problem is. This is the config.py This is the init.py This is the pip file

I had looked up the error and confirmed I was using the right Interpreter for my Environment. I also tried installing "decouple", but I still got the same error. I had to uninstall it and then re-install python-decouple but the error still persists.

The pip list and pipenv run pip list

0

There are 0 best solutions below