instructions to install using anaconda
Edited by Karim Ahmed
Merge request reports
Activity
Filter activity
74 75 pip install -r requirements.txt . --user 76 77 in pycalibration's root directory. 78 After installation, you should make sure the home directory is in the PATH environment variable:: 79 80 PATH=~/.local/bin:$PATH 81 82 and adjust the :ref:`configuration` and settings in the folder 83 xfel-calibrate to match your environment. 84 85 The tool-chain is then available via the:: 86 87 xfel-calibrate 88 89 command. - Edited by Karim Ahmed
106 pip install --target=~/myscratch/directory -r requirements.txt . 107 108 in pycalibration's root directory. 109 After installation, you should make sure the your preferred directory is in the PATH environment variable:: 110 111 PATH=~/myscratch/directory/bin:$PATH 112 113 and adjust the :ref:`configuration` and settings in the folder 114 xfel-calibrate to match your environment. 115 116 The tool-chain is then available via the:: 117 118 xfel-calibrate 119 120 command. 121 I would keep both: local and preferred directory. We can keep preferred directory as alternative installation.
But the way, is this instruction complete.
- Does pip work with relative path like
~/myscratsh/directory
. - Will be this directory created or it should exists.
- Does
PATH
variable helps python to find extra packages?
- Does pip work with relative path like
In the Tutorial section in pycalibration documentation, it is mentioned that one needs to install karabao 2.2.4. Does this serves a specific purpose or does this need to be removed?
Edited by Karim Ahmed57 57 58 58 command. 59 59 60 Installing using Anaconda/3 in home directory 61 --------------------------------------------- 62 63 If you are installing into anaconda environment make sure it is enabled 64 by sourcing the activate file:: changed this line in version 2 of the diff
42 calibration can be obtained from the git repository:: 38 1. module load anaconda/3 43 39 44 git clone https://git.xfel.eu/gitlab/detectors/pycalibration.git 40 If installing into other python enviroments, this step can be skipped. 45 41 46 You can then install all prerequisites and this tool chain by running:: 42 Then the package for the offline calibration can be obtained from the git repository:: 47 43 48 pip install -r requirements.txt . 49 50 in th emain directoy pycalibration. 51 After installation, you should adjust the :ref:`configuration` and settings in the folder 52 xfel-calibrate to match your environment. 44 2. git clone https://git.xfel.eu/gitlab/detectors/pycalibration.git 45 57 78 58 79 command. 59 80 81 82 Install into karabo 83 +++++++++++++++++++ 84 85 If required, one can install into karabo environment. The difference would be to 86 first source activate the karabo envrionment:: 87 88 1. source karabo/activate 89 90 then after cloning the offline calibration package from git, the requirements can be installed through:: 91 92 3. pip install -r requirements.txt . 93 - Resolved by Karim Ahmed
- Resolved by Karim Ahmed
- Resolved by Karim Ahmed
- Resolved by Karim Ahmed
Please register or sign in to reply