name: <environment-name>
channels:
- conda-forge
Credit for this goes to the Stack Overflow user Statistic Dean for his post on this question
(base)$ conda install -c conda-forge nb_conda_kernels
Create env with python 3.7 and pip
conda create --name whatwhale python=3.7 pip