Issue
I tried to open a python script with VS code. The library that requires with the script is in a virtualenv.
I am not sure how to integrate this with VS Code. I could not find my virtualenv in the intepreter.
For your information, the virtualenv I created is called "vc-web" and the scripts is in the folder called "web_scraper" inside the "vc-web" folder.
Solution
If your project is in folder e.g. proj
, and you have a virtual environment at proj/vs-web
and it's the only virtual environment in that directory, then it should be listed by the Python: Select Interpreter
command where you can select it.
Answered By - Brett Cannon Answer Checked By - Marie Seifert (WPSolving Admin)