Skip to content

Use python3 in the system environment

Ghost User requested to merge (removed):kamaji/usr-bin-env-python into master

Some user setups are expecting to use a python in a different location than /usr/bin, and an older python interpreter may be present at that location (Rocky Linux 8 being one), causing issues (notably that shutil.copytree does not have dirs_exist_ok keyword parameter in Python versions < 3.8).

This uses the python3 interpreter that is in the shell's current PATH, instead of hard-coding it to /usr/bin/python3.

#50 (closed)

Merge request reports