How shall I install and invoke IDLE for Python3?
IDLE 3 is an Integrated Development Environment for Python 3.x. IDLE 3 is written using Tkinter and therefore quite platform-independent. To install idle3 in all currently supported versions of Ubuntu open the terminal and type:
sudo apt install idle3
Then the command python3 -m idlelib
will work open IDLE 3 successfully.
To install IDLE for both Python 2.x and Python 3.x open the terminal and type:
sudo apt install idle idle3
Related videos on Youtube
![Tim](https://i.stack.imgur.com/3PCjR.png?s=256&g=1)
Tim
Elitists are oppressive, anti-intellectual, ultra-conservative, and cancerous to the society, environment, and humanity. Please help make Stack Exchange a better place. Expose elite supremacy, elitist brutality, and moderation injustice to https://stackoverflow.com/contact (complicit community managers), in comments, to meta, outside Stack Exchange, and by legal actions. Push back and don't let them normalize their behaviors. Changes always happen from the bottom up. Thank you very much! Just a curious self learner. Almost always upvote replies. Thanks for enlightenment! Meanwhile, Corruption and abuses have been rampantly coming from elitists. Supportive comments have been removed and attacks are kept to control the direction of discourse. Outright vicious comments have been removed only to conceal atrocities. Systematic discrimination has been made into policies. Countless users have been harassed, persecuted, and suffocated. Q&A sites are for everyone to learn and grow, not for elitists to indulge abusive oppression, and cover up for each other. https://softwareengineering.stackexchange.com/posts/419086/revisions https://math.meta.stackexchange.com/q/32539/ (https://i.stack.imgur.com/4knYh.png) and https://math.meta.stackexchange.com/q/32548/ (https://i.stack.imgur.com/9gaZ2.png) https://meta.stackexchange.com/posts/353417/timeline (The moderators defended continuous harassment comments showing no reading and understanding of my post) https://cs.stackexchange.com/posts/125651/timeline (a PLT academic had trouble with the books I am reading and disparaged my self learning posts, and a moderator with long abusive history added more insults.) https://stackoverflow.com/posts/61679659/revisions (homework libels) Much more that have happened.
Updated on September 18, 2022Comments
-
Tim almost 2 years
In Ubuntu, I tried to invoke IDLE
$ python3 -m idlelib ** IDLE can't import Tkinter. Your Python may not be configured for Tk. **
How shall I solve the problem?
I attempted to install
idle
bysudo apt-get install idle
, but after that, runningidle
will invoke a shell for Python2.7 not for Python3.Thanks.