Skip to content

Python scripts are not calling Python 2.x explicitely #45

@Kernald

Description

@Kernald

Python scripts are written in Python 2 (incompatible with Python 3), but calling python: #!/usr/bin/env python. The problem is that on some distribs, the python executable is now Python 3. Running Python 2 implies calling the python2 executable. It's also a good practice if the code is not Python 3 compatible.

So, the scripts should begin with #!/usr/bin/env python2 instead of just #!/usr/bin/env python.

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