new install, now cant import tkinter

More
6 years 5 months ago #166522 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
Code:
$ 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:
Code:
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 to join the conversation.

More
6 years 5 months ago #166524 by tommylight

Please Log in to join the conversation.

More
6 years 5 months ago #166525 by owhite
Method 1 from here did not fix:
forum.linuxcnc.org/9-installing-linuxcnc...-installation#137159

I'll try the iso.

Please Log in to join the conversation.

More
6 years 5 months ago #166526 by tommylight
It was not meant to fix it, it is a much easier way to install on Mint.

Please Log in to join the conversation.

More
6 years 5 months ago #166529 by owhite
Okay. So would you ideas have for dealing with the error?
Code:
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

Please Log in to join the conversation.

More
6 years 5 months ago #166531 by tommylight
Nothing, never seen it before.
Now twice in 2 days! :(

Please Log in to join the conversation.

More
6 years 5 months ago #166558 by phillc54
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 to join the conversation.

  • BeagleBrainz
  • New Member
  • New Member
More
6 years 5 months ago #166563 by BeagleBrainz
Replied by BeagleBrainz on topic new install, now cant import tkinter
Try
Code:
sudo apt-get install python3-tk

Please Log in to join the conversation.

More
6 years 5 months ago #166585 by bbsr_5a
someone shoudt update the install process on UPDATE to Master
to get the python3-tk ito depencies needed

Please Log in to join the conversation.

More
6 years 5 months ago #166592 by rodw

bbsr_5a wrote: 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 to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum