Jupyter Notebook

Using Jupyter with Conda


At the moment (Aug. 6. 2019) this problem seems to be fixed in jupyter. No other software is needed.

When using Jupyter Notebook with Conda there might be problems. Jupiter might not find python packages you installed to the environment you use. To solve this use the nb_conda_kernels package.

This package is designed to be managed solely using conda. It should be installed in then environment from which you run Jupyter Notebook or JupyterLab. If you want to use my_conda_env as the conda environment you want to use. Just install nb_conda_kernels this way:

conda install -n my_conda_env nb_conda_kernels

Executing Jupyter Notebook from command line

jupyter nbconvert --ExecutePreprocessor.timeout=None --to notebook --execute <noteboo_name>.ipynb

The --ExecutePreprocessor.timeout=None is important to turn off the timeout for the maximum time (in seconds) each notebook cell is allowed to run.

also see: https://nbconvert.readthedocs.io/en/latest/execute_api.html#executing-notebooks-from-the-command-line


If you have timeout problems - this might help: pip install git+https://github.com/jupyter/nbconvert.git

View Jupyter Notebook online

This can be done here: https://nbviewer.jupyter.org/