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
jupyter nbconvert --ExecutePreprocessor.timeout=None --to notebook --execute <noteboo_name>.ipynb
–ExecutePreprocessor.timeout=None is important to turn off the timeout for the maximum time (in seconds) each notebook cell is allowed to run.
If you have timeout problems - this might help:
pip install git+https://github.com/jupyter/nbconvert.git