Missing "tkinter" dependency ?

Hello there,

I tried to $pip3 install --user mcross but i got this issue at launch

Traceback (most recent call last):
  File "/media/reed/data2/home/reed/.local/bin/mcross", line 5, in <module>
    from mcross import run
  File "/media/reed/data2/home/reed/.local/lib/python3.8/site-packages/mcross/__init__.py", line 1, in <module>
    from .gui.controller import Controller
  File "/media/reed/data2/home/reed/.local/lib/python3.8/site-packages/mcross/gui/controller.py", line 4, in <module>
    from tkinter import TclError, Tk, messagebox
ModuleNotFoundError: No module named 'tkinter'
Assigned to
2 years ago
1 year, 7 months ago
No labels applied.

~nhanb 2 years ago

McRoss depends on tkinter and idlelib which are supposed to come with the python standard library, but some linux distros (read: ubuntu) decide to split the python distribution into multiple packages. If you're on ubuntu try apt install idle3. Do let me you if that fixes the issue!

~reedwade REPORTED FIXED 2 years ago

idle-python3 on voidlinux worked !

Ty, i'll package it rightly

~cadence 1 year, 7 months ago

Thanks for this info. Could you add the note about apt install idle3 to the README, perhaps? Not everyone will search the closed tickets.

~nhanb 1 year, 7 months ago*

It's actually already mentioned in the README, but I've tried to improve it just now.

~cadence 1 year, 7 months ago

Thank you, this is much clearer!!

Register here or Log in to comment, or comment via email.