Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Python

How do I install dlls and exes for libtidy and others?

 

 

Python python RSS feed   Index | Next | Previous | View Threaded


kevinar18 at hotmail

Nov 4, 2009, 10:06 AM

Post #1 of 2 (185 views)
Permalink
How do I install dlls and exes for libtidy and others?

1. I already asked how to setup libxml2 and libxslt, but nobody answered how to... so if anyone knows I'm still having those problems.

2. I now can't get libtidy to work, which requires the same thing: I need to put some dlls and exes somewhere to make it work in Python. Thing is, I don't know where. There are no instructions on this part.

Details:
I get the following error:
import tidy
OSError: Couldn't find libtidy, please make sure it is installed.

I downloaded these two files (the exe and the dll):
http://www.paehl.com/open_source/?HTML_Tidy_for_Windows
I copied the exe and dll to the Python directory and Python\Lib and Python\Dlls ... nothing worked

I ran this installer (didn't solve the problem):
http://int64.org/projects/tidy-binaries

So, how can I setup libtidy to work with Python?
What do I do with the exe and dll files?
Do I need to make additional changes to the system?
How do I get other programs like libxml2 and libxslt to work with python -- as in what do I do with the exe and dlls?
_________________________________________________________________
Bing brings you maps, menus, and reviews organized in one place.
http://www.bing.com/search?q=restaurants&form=MFESRP&publ=WLHMTAG&crea=TEXT_MFESRP_Local_MapsMenu_Resturants_1x1
--
http://mail.python.org/mailman/listinfo/python-list


kevinar18 at hotmail

Nov 4, 2009, 11:07 AM

Post #2 of 2 (176 views)
Permalink
Re: How do I install dlls and exes for libtidy and others? [In reply to]

Lme clarify my problems. My earlier emails were pretty vague... so this should help.

Problem:
I have been wanting to try out many libraries that use Python to C/C++ app bindings. This means I install the Python library using easy_install and then install the pre-compiled Windows binaries and/or dlls... but that is where the problem arises:

* I do not know where to install the pre-compiled binaries. There are no instructions on this -- it's like everyone assumes I know what to do.
* I tried copying the exe and/or dlls to Python, Python\Lib, Python\Dll
* 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.
* The problem is always when a library requires pre-compiled Windows binaries. I can't every get any such libraries to work.


My questions.
What is the proper way to setup these pre-compiled binaries so that they will work with Python libraries?

What are all the steps?

Is there some things I can do to help diagnose problems?

Could the problems be something different?

_________________________________________________________________
Windows 7: Unclutter your desktop.
http://go.microsoft.com/?linkid=9690331&ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen:112009
--
http://mail.python.org/mailman/listinfo/python-list

Python python RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.