word2html icon indicating copy to clipboard operation
word2html copied to clipboard

OSError

Open rav1112 opened this issue 6 years ago • 3 comments

OSError: Could not load libtidy using any of these names: libtidy,libtidy.so,libtidy-0.99.so.0,cygtidy-0-99-0,tidylib,libtidy.dylib,tidy

rav1112 avatar Nov 21 '18 10:11 rav1112

Check if pandoc installed properly and is in the path

PandaWhoCodes avatar Nov 21 '18 11:11 PandaWhoCodes

Hi @rav1112, when you installed word2html (hopefully with pip install word2html), you should have seen something like the following in the output:

Installing collected packages: wheel, pypandoc, pytidylib, word2html
  Running setup.py install for pypandoc ... done
  Running setup.py install for pytidylib ... done
  Running setup.py install for word2html ... done
Successfully installed pypandoc-1.4 pytidylib-0.3.2 wheel-0.32.3 word2html-0.2.0

If not, then the required dependencies didn't get installed. I'm not sure how best to resolve this for your platform, but I'd suggest 1) working in a new virtual environment, and 2) try re-installing word2html. Please let me know if that works.

bradmontgomery avatar Nov 21 '18 14:11 bradmontgomery

I install php-tidy to resolve this issue on Ubuntu 18.04 sudo apt install php-tidy reference:https://stackoverflow.com/questions/19051696/python-tidylib-module-error

amlloc avatar Oct 10 '20 06:10 amlloc