...
Then we install the kernel and the packages we want to use. For this simple example Iwe'm re only installing 'pytorch'. You must always make sure to include the 'ipykernel' package in the environment, no matter which other packages you want to install!
...