Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSError: Couldn't find libtidy, please make sure it is installed. #131

Open
umarbutler opened this issue Sep 7, 2024 · 0 comments
Open

Comments

@umarbutler
Copy link

Trying to load tidy with HTML Tidy installed on Windows raises the error OSError: Couldn't find libtidy, please make sure it is installed.. I fixed this by renaming "tidy" in:

LIBNAMES = (
    # Linux
    "libtidy.so",
    # MacOS
    "libtidy.dylib",
    # Windows
    "tidy",
    # Cygwin
    "cygtidy-0-99-0",
    # Linux, full soname
    "libtidy-0.99.so.0",
    # Linux, full soname
    "libtidy-0.99.so.0.0.0",
    # HTML tidy
    "libtidy.so.5",
    # Linux, HTML tidy v5.8
    "libtidy.so.58",
    # Debian changed soname
    "libtidy.so.5deb1",
    # Windows?
    "libtidy",
    # Windows?
    "tidylib",
)

To "C:/Program Files/tidy 5.8.0/bin/tidy.dll".

Renaming to "tidy.dll" did not work despite "C:/Program Files/tidy 5.8.0/bin" being in my PATH.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant