maly
(Mohamed Aly)
November 22, 2022, 5:08pm
1
Hello!
I was wondering if there is any chance uhepp python package is added to SWAN. It is quiteq a useful tool for scalable plot presentation and sharing that can save a lot of time when collaborating.
etejedor
(Enric Tejedor Saavedra)
November 22, 2022, 8:51pm
2
Hello Mohamed,
The software packages that are available in SWAN are provided by the LCG releases (https://lcginfo.cern.ch/ )
To request the inclusion of a new package in the LCG releases, one needs to open a ticket to the SPI team of librarians:
https://sft.its.cern.ch/jira/browse/SPI
and justify why the addition of that package would be useful.
Otherwise you can also install such package on your CERNBox and use it from SWAN. More instructions here:
# Install packages in CERNBox
LCG releases on CVMFS incorporate new packages quite frequently, so if you think there is a missing package that can be
potentially useful for a significant number of users, please [let the SWAN team know](mailto:swan-talk@cern.ch) and
[contact the librarians directly](https://sft.its.cern.ch/jira/projects/SPI).
On the other hand, you can install packages on your CERNBox and, if necessary, configure your environment to pick them
up in SWAN.
## Python
A typical case is the installation of Python packages, which requires to run pip from a SWAN terminal:
`pip install --user package_name`
If this fails because you are trying to install an updated version of a package that already exists in CVMFS, you will need to add the `--upgrade` flag.
Then, it would be necessary to add the local installation path to `PYTHONPATH`, by creating a bash startup script that configures that variable (don't forget to call this startup script in the session configuration menu):
``` python
This file has been truncated. show original
Cheers,
Enric