Dear Zhen,
It might be that your home directory on lxplus is still on AFS.
SWAN, however, uses EOS/CERNBox only, hence the path you should add to the PYTHONPATH is /eos/user/z/zyan/.local/lib/python3.6/site-packages
.
You should set this path in a bash script that is loaded when starting your sessions.
For instance,
- create the file
/eos/user/z/zyan/swan_config.sh
with contentexport PYTHONPATH=/eos/user/z/zyan/.local/lib/python3.6/site-packages:$PYTHONPATH
- use this file (
/eos/user/z/zyan/swan_config.sh
) in the field “Environment script” when you are asked to configure your environment at swan.cern.ch
Regards,
Enrico