Open dneise opened 4 years ago
INTROOT must show up in the PYTHON PATH, otherwise the pakages in INTROOT are not found. That is trivial.
This is apparently done in /ACSSW/config/.acs/.bash_profile.acs. So this order in the bashrc matters:
/ACSSW/config/.acs/.bash_profile.acs
bashrc
source /alma/ACS-2020JUN/ACSSW/config/.acs/.bash_profile.acs export INTROOT=/home/almamgr/INTROOT
This does not work
but this does:
export INTROOT=/home/almamgr/INTROOT source /alma/ACS-2020JUN/ACSSW/config/.acs/.bash_profile.acs
This is annoying and we should fix it. Messing around with PYTHON_PATH is not the right way to deal with this.
Have a Look at PYTHONPATH considered harmful
INTROOT must show up in the PYTHON PATH, otherwise the pakages in INTROOT are not found. That is trivial.
This is apparently done in
/ACSSW/config/.acs/.bash_profile.acs
. So this order in thebashrc
matters:This does not work
but this does:
This is annoying and we should fix it. Messing around with PYTHON_PATH is not the right way to deal with this.
Have a Look at PYTHONPATH considered harmful