Skip to content

python2/3 in casa5/6 #50

Description

@teuben

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions