use a different python environment for jupyter notebook code example Example: jupyter notebook in environment python -m ipykernel install --user --name=firstEnv