If you are still having this issue, doing python3.14 script.py instead of python3 script.py fixed it for me.
Topic:
Programming Languages
SubTopic:
General