Setting Up Virtual Environment pipenv in VScode Jupyter notebook instance
- Open a terminal instance in the project directory
pipenv shell
pipenv --venv
to get the path to the virtual environmentcmd + shift + p
to open the command palette- Select
Python: Select Interpreter
- Select the virtual environment that matches the path from step 3 or add it directly