Skip to content
Snippets Groups Projects
Commit 1b2ff8d8 authored by Karim Ahmed's avatar Karim Ahmed
Browse files

create kernel for venv

parent 15e5f84b
No related branches found
No related tags found
1 merge request!260create kernel for venv
...@@ -70,15 +70,26 @@ In additional install pyDetLib package, which is required for many notebooks:: ...@@ -70,15 +70,26 @@ In additional install pyDetLib package, which is required for many notebooks::
pip install -r requirements.txt pip install -r requirements.txt
pip install . pip install .
+++++++++++++++++++++++++++++++++++++++
Installing kernel for Jupyter Notebooks
+++++++++++++++++++++++++++++++++++++++
To set a kernel for your virtual environment::
source /path/to/new/virtual/environment/bin/activate
pip install ipykernel
python -m ipykernel install --user --name <virtenv-name> --display-name "virtenv-display-name"
This can be useful for Jupyter notebook tools as "max-jhub.desy.de".
Development Installation Development Installation
------------------------ ------------------------
For a development installation in your home directory, which automatically For a development installation, which automatically
picks up (most) changes, first install the dependencies as above, picks up (most) changes, first install the dependencies as above,
but then install the tool-chain separately in development mode:: but then install the tool-chain separately in development mode (install in home directory using --user, in case of using Anaconda/3)::
pip install -e . --user pip install -e .
Activate Offline calibration Activate Offline calibration
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment