davidjb / technicolor-tg799vac-hacks

A collection of configuration for detoxing and improving the Technicolor TG799vac modem
MIT License
50 stars 14 forks source link

import tkinter as tk error #8

Closed linuxhackerguy closed 4 years ago

linuxhackerguy commented 4 years ago

Maybe I am making some sort of rookie error but I keep getting when I go to run the python autoflashgui.py command

autoflashgui) root@kali:~/Desktop/technicolor/autoflashgui# python autoflashgui.py Traceback (most recent call last): File "autoflashgui.py", line 13, in import tkinter as tk ImportError: No module named tkinter

thanks in advance.

flywire commented 4 years ago

Install tkinter.

linuxhackerguy commented 4 years ago

yeah I have tired that is there anything I have over looked ?

kevdagoat commented 4 years ago

Make sure you have run pip install tkinter not pip3

On 14 Mar 2020, at 11:30 am, linuxhackerguy notifications@github.com wrote:

 yeah I have tired that is there anything I have over looked ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

linuxhackerguy commented 4 years ago

yes I have done this. I cant even find it when I search for it using pip. There are a bunch of other ones ? Sorry to trouble you

davidjb commented 4 years ago

@linuxhackerguy It sounds like your Python isn't compiled or installed with Tk. For Kali, it looks you need to install the python-tk package (otherwise part of https://pkg.kali.org/pkg/python-stdlib-extensions). If that package is already installed, then check which Python you're using, your library paths and so on.

linuxhackerguy commented 4 years ago

okay I will have a look at these things. Thanks for the guidance.

linuxhackerguy commented 4 years ago

okay sorted out the tkinter issue by downloading it from active state. https://www.activestate.com/products/tcl/downloads/

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.