5 ms·
in the first line in the main.py there is this shebang: #!@PYTHON@ this is different of what I know about shebangs in Python
by sbassi 6y ago
in the first line in the main.py there is this shebang:
#!@PYTHON@
this is different of what I know about shebangs in Python
- CJefferson 6y agoThat is because this file hasn't been "built" yet. When building, @PYTHON@ with the path to Python. This is because it's very hard/impossible to actually get something to put there that works on every OS
- WesolyKubeczek 6y agoIsn’t that why we use #!/usr/bin/env python3 and let the virtual environment sort it out? (I know, gtk is a pain in virtualenvs)
- CJefferson 6y agoI've seen machines where there is no python3, only python. But then on other machines there is a python3, and python is python2