change environment jupyter notebook code example Example: jupyter notebook in environment python -m ipykernel install --user --name=firstEnv