downloading it from the store
All scripts starts with #!/usr/bin/env python3
Since there isn't a python3 executable placed in the installation directory that's a problem
What's the legacy solution for solving this apart from modifying every python file first line in #!/usr/bin/env python or copying python.exe in python3.exe?
I don't know if #!/usr/bin/env even works on windows, that's a path on unix-like systems. That said, changing the shebangs all together is not that complicated. Another solution might be that of simply invoking the right interpreter and passing it the script to run, eg. python3 script.py
Обсуждают сегодня