Depending on the distribution, "python" means either any Python version or Python 2 specifically. Be on the safe side and just use python3 explicitly.
mentioned in commit 7b9e8fd0