Due to compatibility issues I need to use an old version of pytorch (v1.5.0) instead of the much more recent v1.9.0 one which I get by default.
I successfully installed the package (v1.5.0) on CERNBOX and then tried to open a new SWAN session with “$CERNBOX_HOME/.local/lib/python3.8/site-packages” entered into the session configuration menu as described here: Install packages in CERNBox - Help .
However, when checking my pytorch version in the new SWAN session I still get v1.9.0 and clearly my approach is incorrect.
Did you define (and select when starting your SWAN session) an environment script that prepends $CERNBOX_HOME/.local/lib/python3.8/site-packages to the PYTHONPATH?
Thanks very much for your reply.
Do you have an example of an environment script for this purpose? I am not very familiar with building them and I think mine is incorrect.