'How do I import flask while using pipenv, I am running into a 'module not found' error

I have installed flask using pipenv but when trying to import, I'm running into an error yet the import is listed in the Pipfile. What might be the issue?

This is my import code

pipfile



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source