I developed an application with Python 3 that produces various executables. I then used setuptools
to build and distribute this application, again all using Python 3.
When this application is installed in a test environment, the executables are being correctly deployed to the bin
folder and thus become invokable from anywhere in the system. However, when these executables are invoked, the system tries to use the Python 2 interpreter, leading to an exception. How can I make sure the Python interpreter is used when I invoke these executables?