View Single Post
Old 05-24-2019, 03:41 PM   #73
Gregg Bell
Gregg Bell
Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.
 
Gregg Bell's Avatar
 
Posts: 2,266
Karma: 3917598
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
Quote:
Originally Posted by DNSB View Post
And to follow up what DiapDealer said, once you have done the "sudo apt-get install python3-tk", you can enter python3 in the same terminal session. Once Python has been loaded, type "import tkinter" (you'll be in the same terminal session but the prompt changes to >>> when python3 loads) and if no error message, you're good to go.

Code:
linux-6vh3:~ # python3
Python 3.7.2 (default, Dec 30 2018, 16:18:15) [GCC] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tkinter
>>> exit()
linux-6vh3:~ #
Sample terminal session above. This is from Suse Tumbleweed running in a virtual machine so your distribution may look slightly different.
Thanks a lot, David. It worked perfectly.

Code:
~/Desktop$ python3
Python 3.6.7 (default, Oct 22 2018, 11:32:17) 
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tkinter
>>> exit()
Gregg Bell is offline   Reply With Quote