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