Using Jupyter Lab and Tensorflow within a conda environment

1- before launching jupyter, check the environment kernel

  • $ jupyter kernelspec list

2- if nothing appears looking “TF2.6”, add the kernel to jupyter by:

  • $ ipython kernel install --name "TF2.6" --user

3- now you should see TF2.6 with the command:

  • $ jupyter kernelspec list

4 -you can repeat the above kernel installation for other kernels (pytorch). When finished, you can launch jupyter lab:

  • $ jupyter lab


by

Tags: