Python IDLE not Running

Running Mac book pro M2 Max with os: sonoma 14.2.1. Already there is default version of Python 3.9.13. I have installed latest version by downloading from https://www.python.org/. When I checked in terminal it still shows my defaulted version. I could see python launcher and IDLE in application. 

When I try to run open python file with IDLE, 2 windows are popping up and If I try to run, getting Invalid decimal literal. Please advise on this.


Thanks!

MacBook Pro 16″, macOS 14.2

Posted on Feb 6, 2024 2:35 PM

Reply

Similar questions

4 replies

Feb 6, 2024 3:26 PM in response to suhasini144

Python 3 uses a binary named idle3, and by using the Python.org installer that binary is in /usr/local/bin and points back to idle3 in /Library/Frameworks/Python.framework/Versions/3.12/bin. The Apple command-line tools for Xcode do not install idle3 in its Python 3.9.6 distribution.


My PATH statement in my ˜/.zshrc file is:


export PATH=".:$HOME/bin:/Library/Frameworks/Python.framework/Versions/3.12/bin:${PATH}



and my invocation of idle3, not as a replacement for a proper Python syntax aware programmer's editor:


idle3 &


and that begets:



I am using Sonoma 14.3.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Python IDLE not Running

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.