[Chicago] Python 3.5 in Ubuntu???

Mike Tamillow mikaeltamillow96 at gmail.com
Fri Jan 22 02:33:06 EST 2016


Have you checked out your version of Tkinter Doug? Or have you looked into the IDLE source code?

You have to gain more information on the problem and the machine will give you the answer. It's a rabbit hole if you can't narrow down the problem, but it sounds like you can. In that case it's just troubleshooting.

Sent from my iPhone

> On Jan 22, 2016, at 12:06 AM, Lewit, Douglas <d-lewit at neiu.edu> wrote:
> 
> Thanks Phil.  You're right, it's a rabbit hole!  It's all good.  I don't mind playing around with Python 3.5 in the command line.  I've noticed that various software developers go to great lengths to create very user-friendly graphical installers for Windows and Mac OS-X, but when it comes to non-Mac versions of Unix, and also Linux, the installers are definitely less user-friendly.  Something tells me that if Guido was sitting here right now in front of my computer, he could figure it out, but alas, that's not going to happen!   :-)  
> 
>> On Thu, Jan 21, 2016 at 9:15 PM, Robare, Phillip (TEKSystems) <proba at allstate.com> wrote:
>> Your version of python was probably compiled without the support for Tkinter.  If Unix is used as a server you don’t need the graphic stuff.  I believe there is an additional package to apt-get install for Ubuntu that will provide idle and x-windows support.
>> 
>>  
>> 
>> Learning about how Python is built is going down a rabbit hole which may eventually be rewarding but is sure to be quite confusing to start with.  Check out the documentation of the sysconfig and distutils.sysconfig modules to start.
>> 
>>  
>> 
>> Phil Robare
>> 
>> TEK Systems / Allstate QR&A
>> 
>> 847-667-0431
>> 
>> D2W-703F
>> 
>>  
>> 
>> From: Chicago [mailto:chicago-bounces+proba=allstate.com at python.org] On Behalf Of Lewit, Douglas
>> Sent: Thursday, January 21, 2016 5:28 PM
>> To: The Chicago Python Users Group
>> Subject: [Chicago] Python 3.5 in Ubuntu???
>> 
>>  
>> 
>> Hey guys,
>> 
>>  
>> 
>> I recently installed Python 3.5 Idle on my Mac.  Very simple installation.  The installation was not as easy or as painless on my Linux machine.  I followed the directions, and Python 3.5 ( or at least the command to launch it ) was successfully installed to /usr/bin.  BUT there were/are a couple of little issues.  Initially I was not able to launch Terminal!  ( Not good because I use Terminal quite a lot. )  I did some homework on the Ubuntu Forum and learned that Ubuntu's Terminal requires Python 3.4 as a dependency.  During the installation of Python 3.5, the symlink "python3" got changed to point to Python 3.5.  So I had to go back to /usr/bin ( in xterm, a Terminal alternative for just these emergencies ) and rename my "python3" symlink so that it points to Python 3.4 and NOT Python 3.5.   With that done I was able to launch Terminal just like before.
>> 
>>  
>> 
>> BUT.... idle3.5 does not work.  The command is there in usr/bin, but it fails with some warning message about how my version of Python is not configured to work with Tk or Tkinter.   ( However, my other Python versions do not have this problem, and for those versions IDLE runs without a glitch. )  Does anyone have a solution for this?  How can I configure my Python 3.5 to successfully import Tkinter and thus launch an IDLE shell?  Any advice is appreciated.  I'm running Ubuntu 15.04 LTS.  Thanks!!!
>> 
>>  
>> 
>> Best,
>> 
>>  
>> 
>> Douglas Lewit
>> 
>>  
>> 
>> 
>> _______________________________________________
>> Chicago mailing list
>> Chicago at python.org
>> https://mail.python.org/mailman/listinfo/chicago
> 
> _______________________________________________
> Chicago mailing list
> Chicago at python.org
> https://mail.python.org/mailman/listinfo/chicago
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chicago/attachments/20160122/a1134fa5/attachment.html>


More information about the Chicago mailing list