create a kernel from a pip_reqs
✓ Published0🌍 Public
BBBischof
Last edited Jan 1, 2018
Created on Jan 1, 2018
This example shows how to convert a pip requirements file into a runnable Jupyter kernel for a specified experiment name. It creates a dedicated virtual environment, installs the listed dependencies, and registers the kernel with ipykernel. The script uses the Bash command-line tools `virtualenv`, `pip install`, and `python -m ipykernel install`, copying the requirements file into a new directory before activating the environment. The process is split across two shell scripts, `create_kernel.sh` and `venv_to_kernel.sh`, with the latter reusing the same installation commands for existing environments.
AI-generated description