Whenever I install a sample environment.yml
, say:
name: my_env
dependencies:
- python
- numpy
- pip:
- scipy
- ipykernel
- ipywidgets
that I install by conda env create -f environment.yml
I then always have to add it to the Jupyter "kernelspec":
python -m ipykernel install --user --name my_env --display-name "my_env"
and enable extensions:
jupyter nbextension enable --py widgetsnbextension
It would be simpler to have these two steps part of the environment.yml
to start off with. Is this possible?