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

Merge branch 'doc/venv_kernel' into 'master'

create kernel for venv

See merge request detectors/pycalibration!260
parents 966d4ce2 f0ee336e
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 .
++++++++++++++++++++++++++++++++++++++++++++++++++
Setting an ipython kernel for virtual environments
++++++++++++++++++++++++++++++++++++++++++++++++++
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