Well, I'm going to go ahead and apologize for sending this off-topic message here, but I just don't know who else to ask. I tried the Python forums - no response. I tried the general Python mailing list - no useful info or no response. I don't know whether my problem is a silly mistake on my part or some weird problem that only a few people may know how to solve (thus the lack of response I'm getting). However, the problem is a real show-stopper for me. I can't use a lot of libraries or get anything done because of it....
Problem:
I cannot get libxml2, libxslt, or libtidy to work -- all use external C programs or dlls that are linked into a python library.
All of these libraries return an error that they do not exist (meaning they cannot find the exe or dll).
I go through the process of installing the Python library using easy_install; that works fine. Then, I install the pre-compiled Windows binaries and/or dlls... but it never works....
* First, off, I never know where to install the pre-compiled binaries. There instructions never say exactly, but seem to assume I know what to do with the binaries for libxml2, libxslt, and libtidy.
* I tried copying the exe and/or dlls to Python, Python\Lib, and Python\Dll ... none worked.
* import libxml2, import libxslt, and import libtidy do not work. For example for libtidy, I get:
import tidy
OSError: Couldn't find libtidy, please make sure it is installed.
* Note: Python\ and Python\Scripts are both part of my OS PATH variable if that matters
My questions.
What is the proper way to setup/install pre-compiled Windows binaries so that they will work with the Python libraries?
What are all the steps?
Is there some things I can do to help diagnose problems?
Could the problem be something different or trivial that I overlooked?
Again, sorry for bringing the problem here... can anyone recommend places that would be good to ask these kinds of questions?
I'll probably start exploring some oddball solutions later (hacks) like calling the program from the command line ... or maybe looking through the python library code and hacking some odd solution. Still, I would like to find out if I'm doing something wrong.
_________________________________________________________________
Hotmail: Trusted email with Microsoft's powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141664/direct/01/
http://clk.atdmt.com/GBL/go/177141664/direct/01/