


You can now deactivate the env conda deactivate env open Jupyter Lab jupyter lab and see the following option: Secondly install the ipykernel: conda install -c anaconda ipykernelįinally, for the env ex create the kernel you can define also the Kernel name: python -m ipykernel install -user -name ex -display-name "Python (ex)" This can be done easily by following the below steps:įirst activate the env as follow: conda activate ex If you finished the project and you now want to delete the conda environment (in that case env named 'ex') simply run the following: conda env remove -n ex You can validate that the new environment was created by printing all conda envs conda env list. This will create a new conda env using the current Python version if you want a specific Python version that is not your current version, then: conda create -n ex python=3.6

To create a new conda environment named 'ex' simply run the following command named: conda create -n ex #where 'ex' is the name of your new conda environment Simply open your terminal and type the following command: conda env list In this article, I will try to summarize the steps taken to tackle this issue.
#Conda install package to environment how to
One thing that I used to google a lot every time I start a new project is how to create a new conda environment and add it as Jupyter Kernel. As data scientist, I daily work with Jupyter Notebook/ Jupyter Lab.
