With the different names of the .ipynb
file, it will take the different kernels, and it is stored in the database.
CodePudding user response:
First of all, create a virtualenv. Open the terminal using Ctrl Shift `.
In the console, type python3 -m venv venv
.
This will create a folder named venv
in your working directory.
Now, in the bottom left corner, you will find the selected python interpreter. Click that and change it to venv
.
(If windows raises permission error, In your vsCode settings, add the following lines.)
"terminal.integrated.shellArgs.windows": ["-ExecutionPolicy", "Bypass"]
Now delete all previous terminals and open a new terminal.
Install the required packages using pip
and carry on.