LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
LQ Newbie
 
Registered: Feb 2012
Location: Raleigh, NC
Distribution: Debian & Fedora
Posts: 23

Rep: Reputation: 2
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
LQ Newbie
 
Registered: Feb 2012
Location: Raleigh, NC
Distribution: Debian & Fedora
Posts: 23

Original Poster
Rep: Reputation: 2
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
Guru
 
Registered: Aug 2005
Posts: 12,833

Rep: Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 08:14 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration