dekuNukem / duckyPad

Do-It-All Mechanical Macropad
MIT License
1.22k stars 169 forks source link

Fix for python libraries on Linux Mint #95

Closed tony1661 closed 2 years ago

tony1661 commented 2 years ago

The instructions [here](Running duckyPad Configurator on Linux) do not appear to work for my Linux Mint PC.

I wanted to post how I was able to fix this. So that maybe we can update the documentation. I suspect this would affect Ubuntu as well since Linux Mint is based off of Ubuntu.

Let me know your thoughts. It seemed that whenever I tried to execute the python script (duckypad_config.py) I got the following:

sudo python3 duckypad_config.py
Traceback (most recent call last):
  File "duckypad_config.py", line 13, in <module>
    from tkinter import *
ModuleNotFoundError: No module named 'tkinter'

Once I installed tk, I would then get the error for appdirs then for hid

To fix this, I performed the following:

sudo apt install python3-tk
sudo apt install python3-appdirs
sudo apt install python3-hid