Python Forum
mx19.2 python & tkinter
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
mx19.2 python & tkinter
#1
i have python installed on mx 19.2

from xterm

bill@mx:~
$ python -V
Python 2.7.16
bill@mx:~
$ python3 -V
Python 3.7.3
bill@mx:~

bill@mx:~
$ whereis python
python: /usr/bin/python2.7 /usr/bin/python3.7 /usr/bin/python3.7m /usr/bin/python /usr/lib/python2.7 /usr/lib/python3.7 /usr/lib/python2.6 /etc/python2.7 /etc/python3.7 /etc/python /usr/local/lib/python2.7 /usr/local/lib/python3.7 /usr/include/python2.7 /usr/include/python3.7m /usr/share/python /usr/share/man/man1/python.1.gz
bill@mx:~
$

bill@mx:~
$ sudo apt install python3.7 python3-tk
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-tk is already the newest version (3.7.3-1).
python3.7 is already the newest version (3.7.3-2+deb10u2).
python3.7 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
bill@mx:~

if i run a script dloaded from the net in geaney i get

import tkinter as tk
ImportError: No module named tkinter

help please
Reply


Messages In This Thread
mx19.2 python & tkinter - by gonzo01 - Aug-22-2020, 04:39 AM
RE: mx19.2 python & tkinter - by gonzo01 - Aug-23-2020, 02:52 AM
RE: mx19.2 python & tkinter - by Axel_Erfurt - Aug-23-2020, 08:09 AM
RE: mx19.2 python & tkinter - by gonzo01 - Aug-23-2020, 08:16 AM
RE: mx19.2 python & tkinter - by Axel_Erfurt - Aug-23-2020, 08:38 AM
RE: mx19.2 python & tkinter - by gonzo01 - Aug-23-2020, 09:20 AM
RE: mx19.2 python & tkinter - by gonzo01 - Aug-27-2020, 03:36 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020