Sunday, April 28, 2024
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 1445  / 2 Years ago, mon, july 4, 2022, 1:19:07

I executed this command to open a .py file in idle terminal :



idle python_file.py


Shell displayed the following message in response :



The program 'idle' is currently not installed. You can install it by typing:
sudo apt-get install idle


I have already installed idle and infact used the same to create python_file.py. Why does shell ask me to install it again? Using Ubuntu 13.10 if it helps.


More From » command-line

 Answers
5

Check your /usr/bin directory. On my machine at least, IDLE is installed under /usr/bin/idle-python2.7 and /usr/bin/python3.2, so I would open the file using:




idle-python3.2 python_file.py



[#26877] Wednesday, July 6, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
motivengry

Total Points: 459
Total Questions: 112
Total Answers: 108

Location: Bonaire
Member since Sat, May 1, 2021
3 Years ago
motivengry questions
Tue, Oct 4, 22, 10:02, 2 Years ago
Wed, May 31, 23, 14:33, 12 Months ago
;