When I try to run any Python script by double-clicking it on my desktop or in Caja, a terminal window comes up for a split second (so execution does start) and then disappears, without the script running. All my scripts start with the #!/usr/bin/env python3 shebang line and Python 3 is installed. I can execute them with no problems from a Python or IPython session. What could be preventing them from running on doubleclick?
↧