Skip to content
Snippets Groups Projects

Documentation: update installation for using python 3.11.9

Merged Karim Ahmed requested to merge doc/temp_installation_update into master
Files
2
@@ -11,7 +11,7 @@ to do this.
## Installation using python virtual environment - recommended
`pycalibration` uses Python 3.8. Currently, the default
`pycalibration` uses Python 3.11. Currently, the default
python installation on Maxwell is still Python 3.6.8, so Python 3.8
needs to be loaded from a different location.
@@ -29,9 +29,9 @@ to manage different versions of python. This can be activated with
A quick setup would be:
1. `source /gpfs/exfel/sw/calsoft/.pyenv/bin/activate`
2. `git clone --branch 3.14.4 ssh://git@git.xfel.eu:10022/detectors/pycalibration.git && cd pycalibration` -
2. `git clone ssh://git@git.xfel.eu:10022/detectors/pycalibration.git && cd pycalibration` -
clone the offline calibration package from EuXFEL GitLab
3. `pyenv shell 3.8.18` - load required version of python
3. `pyenv shell 3.11.9` - load required version of python
4. `python3 -m venv .venv` - create the virtual environment
5. `source .venv/bin/activate` - activate the virtual environment
6. `python3 -m pip install --upgrade pip` - upgrade version of pip
@@ -43,9 +43,8 @@ Copy/paste script:
```bash
source /gpfs/exfel/sw/calsoft/.pyenv/bin/activate
git clone ssh://git@git.xfel.eu:10022/detectors/pycalibration.git
git checkout 3.14.4 # Use this version for compatibility with Python 3.8.18
cd pycalibration
pyenv shell 3.8.18
pyenv shell 3.11.9
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install --upgrade pip
Loading