new install, now cant import tkinter
03 May 2020 18:38 #166522
by owhite
new install, now cant import tkinter was created by owhite
Folks,
I followed this tutorial and it worked fine with mint 19:
gnipsel.com/linuxcnc/uspace/linuxmint19-emc.html
when i installed that, I used build 2.7, it worked fine. I get this from -v
LINUXCNC - 2.7.15
Then when I wanted to install the master, 2.9pre, and I encountered a problem.
There were residual .deb files in my home area, so I removed all those. Then I ran all commands on the mint 19 install page up to:
$ debuild -uc -us
and installed the .deb files, now I'm getting this from
so that looked like good news but when I run linuxcnc and try to start any of the sims I get:
any thoughts?
I followed this tutorial and it worked fine with mint 19:
gnipsel.com/linuxcnc/uspace/linuxmint19-emc.html
when i installed that, I used build 2.7, it worked fine. I get this from -v
LINUXCNC - 2.7.15
Then when I wanted to install the master, 2.9pre, and I encountered a problem.
There were residual .deb files in my home area, so I removed all those. Then I ran all commands on the mint 19 install page up to:
$ debuild -uc -us
and installed the .deb files, now I'm getting this from
$ linuxcnc -v
Verbose mode on
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.0~pre0
so that looked like good news but when I run linuxcnc and try to start any of the sims I get:
LINUXCNC - 2.9.0~pre0
Machine configuration directory is '/home/owhite/linuxcnc/configs/sim.axis'
Machine configuration file is 'axis.ini'
Traceback (most recent call last):
File "/usr/bin/update_ini", line 11, in <module>
from tkinter import *
ImportError: No module named tkinter
update script failed in an unexpected way.
LinuxCNC terminated with an error. You can find more information in the log:
/home/owhite/linuxcnc_debug.txt
and
/home/owhite/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
any thoughts?
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6432
03 May 2020 18:53 #166524
by tommylight
Replied by tommylight on topic new install, now cant import tkinter
Download the ready made ISO from here:
forum.linuxcnc.org/9-installing-linuxcnc...onic-beaver-mint-iso
Or install Linuxcnc on Linux Mint;
forum.linuxcnc.org/9-installing-linuxcnc...-installation#137159
forum.linuxcnc.org/9-installing-linuxcnc...onic-beaver-mint-iso
Or install Linuxcnc on Linux Mint;
forum.linuxcnc.org/9-installing-linuxcnc...-installation#137159
Please Log in or Create an account to join the conversation.
03 May 2020 19:18 #166525
by owhite
Replied by owhite on topic new install, now cant import tkinter
Method 1 from here did not fix:
forum.linuxcnc.org/9-installing-linuxcnc...-installation#137159
I'll try the iso.
forum.linuxcnc.org/9-installing-linuxcnc...-installation#137159
I'll try the iso.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6432
03 May 2020 19:20 #166526
by tommylight
Replied by tommylight on topic new install, now cant import tkinter
It was not meant to fix it, it is a much easier way to install on Mint.
Please Log in or Create an account to join the conversation.
03 May 2020 19:48 - 03 May 2020 20:29 #166529
by owhite
Replied by owhite on topic new install, now cant import tkinter
Okay. So would you ideas have for dealing with the error?
LINUXCNC - 2.9.0~pre0
Machine configuration directory is '/home/owhite/linuxcnc/configs/sim.axis'
Machine configuration file is 'axis.ini'
Traceback (most recent call last):
File "/usr/bin/update_ini", line 11, in <module>
from tkinter import *
ImportError: No module named tkinter
update script failed in an unexpected way.
LinuxCNC terminated with an error. You can find more information in the log:
/home/owhite/linuxcnc_debug.txt
and
/home/owhite/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
Last edit: 03 May 2020 20:29 by owhite.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6432
03 May 2020 19:52 #166531
by tommylight
Replied by tommylight on topic new install, now cant import tkinter
Nothing, never seen it before.
Now twice in 2 days!
Now twice in 2 days!
Please Log in or Create an account to join the conversation.
04 May 2020 00:58 #166558
by phillc54
Replied by phillc54 on topic new install, now cant import tkinter
Could be something to do with the Python3 work being done on master, I would stick with 2.8 at this stage unless there is something specific you need from master.
Please Log in or Create an account to join the conversation.
- BeagleBrainz
- Offline
- User is blocked
Less
More
- Posts: 1437
- Thank you received: 570
04 May 2020 02:34 #166563
by BeagleBrainz
Replied by BeagleBrainz on topic new install, now cant import tkinter
Try
sudo apt-get install python3-tk
Please Log in or Create an account to join the conversation.
04 May 2020 07:15 #166585
by bbsr_5a
Replied by bbsr_5a on topic new install, now cant import tkinter
someone shoudt update the install process on UPDATE to Master
to get the python3-tk ito depencies needed
to get the python3-tk ito depencies needed
Please Log in or Create an account to join the conversation.
04 May 2020 08:14 #166592
by rodw
To be fair Python3, is stilla work in progress for LInuxcnc and a lot of PR's were pushed to master bracnh over the last few days.... It would be best to log an issue in git hub.
Replied by rodw on topic new install, now cant import tkinter
someone shoudt update the install process on UPDATE to Master
to get the python3-tk ito depencies needed
To be fair Python3, is stilla work in progress for LInuxcnc and a lot of PR's were pushed to master bracnh over the last few days.... It would be best to log an issue in git hub.
Please Log in or Create an account to join the conversation.
Time to create page: 0.105 seconds