Skip to content

Error: 'libtk8.6.so: cannot open shared object file: No such file or directory' when building documentation from files which contain tkinter #41

Description

@panos23kar

I get the warning:

WARNING: autodoc: failed to import module 'xxxxx' from module 'src.xxxx'; the following exception was raised:
libtk8.6.so: cannot open shared object file: No such file or directory link

I try to generate documentation from docstrings using the extensions = ['sphinx.ext.autodoc',] in the conf.py
These modules import tkinter which seems to trigger the above mentioned warnings.

It does not raise an error but the documetantion is not built in index.rst

People say: All you need to do is to install the tkinter package
I have tried to do so both for the requirements.txt and sudo apt-get install tk

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