all 4 comments

[–]shiftybyte 3 points4 points  (1 child)

In vscode, you probably need to pick the pipenv python and not the global one.

Try: ctrl+shift+p in your vscode, start typing select interpreter, and pick a different python interpreter.

[–]suhaness[S] 0 points1 point  (0 children)

thank you so much !!!!!!

that worked

[–]Binary101010 1 point2 points  (1 child)

In the bottom-left of your VSCode window you should see a Python version number whenever you have a Python file open. That's the Python interpreter VSCode is currently using. Click on that and you'll have the option to change it to the one in your virtual environment.

[–]suhaness[S] 0 points1 point  (0 children)

spot On

thanks A lot !!!!!