We use a few cases of #! /usr/bin/env python
which works in casa5, but not in casa6, because it only has python3.
Possible solution is to completely abandon casa5/python and fully switch to casa5/python3.
Also possible is to have our configure patch the offending files (currently only listfitsa)
What also works is patching the casa6 distro:
cd $CASA_ROOT/lib/py/bin/; ln -s python3 python
and if that's not allowed....
cd $ADMIT/bin; ln -s $CASA_ROOT/lib/py/bin/python3 python
which is probably the preferred solution, via configure.
We use a few cases of #! /usr/bin/env python
which works in casa5, but not in casa6, because it only has python3.
Possible solution is to completely abandon casa5/python and fully switch to casa5/python3.
Also possible is to have our configure patch the offending files (currently only listfitsa)
What also works is patching the casa6 distro:
and if that's not allowed....
which is probably the preferred solution, via configure.