new install, now cant import tkinter

More
6 years 5 months ago #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
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 or Create an account to join the conversation.

  • tommylight
  • Away
  • Moderator
  • Moderator
More
6 years 5 months ago #166524 by tommylight

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #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.

Please Log in or Create an account to join the conversation.

  • tommylight
  • Away
  • Moderator
  • Moderator
More
6 years 5 months ago #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.

More
6 years 5 months ago - 6 years 5 months ago #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?
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
Last edit: 6 years 5 months ago by owhite.

Please Log in or Create an account to join the conversation.

  • tommylight
  • Away
  • Moderator
  • Moderator
More
6 years 5 months ago #166531 by tommylight
Replied by tommylight on topic new install, now cant import tkinter
Nothing, never seen it before.
Now twice in 2 days! :(

Please Log in or Create an account to join the conversation.

Time to create page: 0.788 seconds
Powered by Kunena Forum