Inkscape.org
Beginners' Questions Linux - Extension Error - No module named 'tkinter
  1. #1
    HMH HMH @HMH

    Hi,

    I tried some extensions, and got the following error:

    ย 

    Traceback (most recent call last):
      File "removeDuplicateLines.py", line 29, in <module>
        from tkinter import messagebox
    ModuleNotFoundError: No module named 'tkinter'
    

    I searched about it online, and was advised to install:

    sudo apt-get install python3-tk 

    which I did ; but nothing changed.

    Any hint ?


    Thanks!

  2. #2
    inklinea inklinea @inklineaโ›ฐ๏ธ

    Where did you download the extension from ?ย 

  3. #3
    HMH HMH @HMH

    the extension is https://inkscape.org/~EllenWasbo/%E2%98%85remove-duplicate-lines-with-tolerance

    in the comments it was suggested that it wasn't working on the latest version, so I installed 1.2.2

    the error is there both in 1.2.2 and latest 1.3.2

  4. #4
    inklinea inklinea @inklineaโ›ฐ๏ธ

    I've tested on Ubuntu 22.04 with Inkscape 1.3

    Works fine.ย 

    What OS are you using ?ย 

    I don't think this works on MacOS

  5. #5
    HMH HMH @HMH

    i'm using ubuntu LTS 20.04 ; is this the reason?

    > 5.15.0-100-generic #110~20.04.1-Ubuntu SMP Tue Feb 13 14:25:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

    i also forgot to mention, that i use an extracted version of the .appimage

    ย 

  6. #6
    Tyler Durden Tyler Durden @TylerDurdenโš–

    I suggest the PPAย https://inkscape.org/release/inkscape-1.3/gnulinux/ubuntu/ppa/dl/

  7. #7
    HMH HMH @HMH
    ๐Ÿ‘

    It worked! thanks

Inkscape Inkscape.org Inkscape Forum Beginners' Questions Linux - Extension Error - No module named 'tkinter