My code runner in VS Code is not executing code in virtual environment. I have looked for multiple solutions in existing threads here and outside. Even after multiple attempts it does not work. I have attached reference of each attempts.
Attempt 1:
"python": "C:\\Users\\Farhan Hasant\\.virtualenvs\\HelloWorld--L5nr0Hr\bin\\python -u",
Attempt 2:
"python": "$pythonPath -u $fullFileName",
I have created the virtual environment using pip install pipenv and installed requests package using pip env install requests.