Skip to content

Tcl error using Tk #133

Open
Open
@jplumail

Description

@jplumail

I got an error when trying to distribute my Tkinter app:

_tkinter.TclError: Can't find a usable init.tcl in the following directories: 
    /home/plumail/.local/share/pyapp/spfluo-app/7904589091198436804/0.1.12/bin/../lib/tcl8.6 /tools/deps/lib/tcl8.6 /home/plumail/.local/share/pyapp/spfluo-app/7904589091198436804/0.1.12/lib/tcl8.6 /home/plumail/.local/share/pyapp/spfluo-app/7904589091198436804/lib/tcl8.6 /home/plumail/.local/share/pyapp/spfluo-app/7904589091198436804/0.1.12/library /home/plumail/.local/share/pyapp/spfluo-app/7904589091198436804/library /home/plumail/.local/share/pyapp/spfluo-app/7904589091198436804/tcl8.6.12/library /home/plumail/.local/share/pyapp/spfluo-app/tcl8.6.12/library



This probably means that Tcl wasn't installed properly.

Apparently it is a known issue when distributing python: https://gregoryszorc.com/docs/python-build-standalone/main/quirks.html#tcl-tk-support-files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions