utidylib won't import

W

Wade Leftwich

I've installed utidylib on Python 2.3, Win2K, using
uTidylib-0.1.win32.exe from http://sourceforge.net/projects/utidylib .

When I try to import tidy, I get:

"""Traceback (most recent call last):
File "<interactive input>", line 1, in ?
File "C:\Python23\Lib\site-packages\tidy.py", line 38, in ?
from tidylib.lib import parse, parseString
File "C:\Python23\Lib\site-packages\tidylib\lib.py", line 80, in ?
_tidy.lookupOption.restype=c.POINTER(_TidyOptionImpl)
File "C:\Python23\Lib\site-packages\tidylib\lib.py", line 32, in
__getattr__
return getattr(self.lib, name)
File "C:\Python23\Lib\site-packages\ctypes\__init__.py", line 231,
in __getattr__
func = self._CdeclFuncPtr(name, self)
AttributeError: function 'lookupOption' not found
"""

.... though tidylib.lib does define lookupOption().

Any clues appreciated.

-- Wade Leftwich
Ithaca, NY
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,083
Messages
2,570,591
Members
47,212
Latest member
RobynWiley

Latest Threads

Top