This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Python Launcher doesn't open a terminal window
Type: behavior Stage: resolved
Components: macOS Versions: Python 3.8
process
Status: closed Resolution: duplicate
Dependencies: Superseder: Python Launcher app on macOS 10.15+ fails to run scripts
View: 40477
Assigned To: Nosy List: WildCard65, kjw, ned.deily, ronaldoussoren
Priority: normal Keywords:

Created on 2021-02-04 01:03 by kjw, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (5)
msg386473 - (view) Author: Kevin (kjw) Date: 2021-02-04 01:03
Machine: new MacBook Air with M1 chip, running Big Sur
Downloaded: Python versions 2.7, 3.8, and 3.9
Situation: Programs run just fine IF I run them out of a terminal window (/usr/local/bin/python name-of-python-program). Also programs that use Tkinter windows and don't require a terminal window for input or output run properly.
Problem: Can't launch programs by double-clicking on them. When I try, Python Launcher starts and displays its preferences and there is a microsecond flash of something on the screen that appears to descend into the program icon that was clicked on. 
Note: Playing with a shebang in the program made no difference. Everything works fine when the programs are opened and run in IDLE.
msg386476 - (view) Author: William Pickard (WildCard65) * Date: 2021-02-04 03:27
That quick flash would be your terminal window if I have to guess (based on no Mac experience, but Windows).
msg386483 - (view) Author: Kevin (kjw) Date: 2021-02-04 14:15
William,

Thanks for your comment. I assumed the same thing, but it goes by so fast I am never sure..

> On Feb 3, 2021, at 10:27 PM, William Pickard <report@bugs.python.org> wrote:
> 
> 
> William Pickard <lollol222gg@gmail.com> added the comment:
> 
> That quick flash would be your terminal window if I have to guess (based on no Mac experience, but Windows).
> 
> ----------
> nosy: +WildCard65
> 
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue43122>
> _______________________________________
msg409564 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2022-01-03 06:59
Thanks for the report. The problem here has finally been resolved in the fixes for Issue40477 which will be released in Python 3.9.10, 3.10.2, and 3.11.0a4. (Unfortunately, Python 3.8 is now in the "security-fix" phase of its release cycle; this issue doesn't qualify as a security problem and, in any case, only source releases are provided in this phase, no binary installers.)
msg409610 - (view) Author: Kevin (kjw) Date: 2022-01-03 19:29
Many thanks for notifying me that my issue is fixed in the latest updates. I will try to test this soon.

Kevin Weidenbaum

> On Jan 3, 2022, at 1:59 AM, Ned Deily <report@bugs.python.org> wrote:
> 
> 
> Change by Ned Deily <nad@python.org>:
> 
> 
> ----------
> Removed message: https://bugs.python.org/msg409563
> 
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue43122>
> _______________________________________
History
Date User Action Args
2022-04-11 14:59:41adminsetgithub: 87288
2022-01-03 19:29:24kjwsetmessages: + msg409610
2022-01-03 06:59:29ned.deilysetmessages: - msg409563
2022-01-03 06:59:18ned.deilysetmessages: + msg409564
2022-01-03 06:58:42ned.deilysetstatus: open -> closed
superseder: Python Launcher app on macOS 10.15+ fails to run scripts
messages: + msg409563

resolution: duplicate
stage: resolved
2021-02-08 10:12:12ronaldoussorensetnosy: + ronaldoussoren, ned.deily
components: + macOS
2021-02-04 14:15:47kjwsetmessages: + msg386483
2021-02-04 03:27:52WildCard65setnosy: + WildCard65
messages: + msg386476
2021-02-04 01:03:35kjwcreate