beeware / bugjar

A interactive graphical debugger for Python code.
BSD 3-Clause "New" or "Revised" License
249 stars 31 forks source link

ModuleNotFoundError: No module named 'Tkinter' #29

Closed Code4SAFrankie closed 4 years ago

Code4SAFrankie commented 4 years ago

Running bugjar mypythonfile.py gives this error:

Traceback (most recent call last):
  File "e:\wpy-3710\python-3.7.1.amd64\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "e:\wpy-3710\python-3.7.1.amd64\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "E:\WPy-3710\python-3.7.1.amd64\Scripts\bugjar.exe\__main__.py", line 5, in <module>
  File "e:\wpy-3710\python-3.7.1.amd64\lib\site-packages\bugjar\main.py", line 4, in <module>
    from Tkinter import *
ModuleNotFoundError: No module named 'Tkinter'

Python version: 3.7.1 Using Conda? PipEnv? PyEnv? Pex? pip on WinPython OS version: Windows 10 version 1903 Browser version: Firefox 69.0

freakboy3742 commented 4 years ago

You opened this bug on the repository for the BeeWare website, but this looks like it's a report with Bugjar; I've transferred it.

Since you're on Windows, I'm going to guess that you're hitting the same problem that is addressed by this note in the Cricket documentation. We're in the process of replacing Tkinter specifically because of these sort of problems.