LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-11-2013, 07:07 PM   #1
greatbear
Member
 
Registered: Feb 2012
Distribution: ubuntu
Posts: 44

Rep: Reputation: Disabled
Getting Idle for Python 3 on Fedora 18


Hi, bit of an arcane request, but I'm looking and cannot find 'Idle' in any of Fedora's packages. Its got ipython, but that isn't the same thing. Anybody know of a Fedora package that would provide Idle for Python 3? (For Python 2 it comes standard, but it is supposedly available for Py 3 as well.)

Thank you!

Perhaps the best thing to do is somehow install python3 apart from the normal apps, so that I'm not tied to the distribution's peculiarities. Then I could perhaps install whatever I'd like to install. I'd rather just get a package with Idle already installed.
 
Old 09-11-2013, 07:35 PM   #2
greatbear
Member
 
Registered: Feb 2012
Distribution: ubuntu
Posts: 44

Original Poster
Rep: Reputation: Disabled
Found the solution here: https://ask.fedoraproject.org/questi...-in-fedora-16/

The solution was to import the Idle module. I created a file /usr/bin/idle3 and put the following into it:

#!/usr/bin/python3

from idlelib.PyShell import main
if __name__ == '__main__':
main()

Then I used chmod to add execution rights. I was able to run Idle in Python 3 from a standard user profile.
 
Old 09-12-2013, 02:57 AM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
just be VERY VERY careful
do NOT replace the default version of python yum and parts of Gnome NEED that exact version

a second version can be installed side by side , but use caution
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
need help with IDLE - python 2.4.1 on fedora core 3 pm5k00 Fedora 0 04-06-2005 06:02 PM
Python IDLE apocolpse Programming 2 11-09-2004 08:37 PM
Python Idle apocolpse Programming 2 10-18-2004 04:16 AM
python 2.3 and idle jimscafe Linux - Software 1 10-25-2003 06:01 PM
Python IDLE Interface Odd_Bloke Linux - Software 4 08-26-2003 01:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration