[prev in list] [next in list] [prev in thread] [next in thread] 

List:       macports-users
Subject:    Re: Using libTydy in Python
From:       Ryan Schmidt <ryandesign () macports ! org>
Date:       2016-02-16 22:27:09
Message-ID: B128F5E7-3ED4-45F1-BDC8-75974ED9EAAC () macports ! org
[Download RAW message or body]

On Feb 16, 2016, at 3:15 PM, Gustavo Seabra wrote:
> 
> Hi guys,
> 
> I'm trying to use a simple program here, but I keep getting the following error:
> 
> $ python scriptLattes.py ./exemplo/teste-01.config
> Traceback (most recent call last):
> File "scriptLattes.py", line 44, in <module>
> from grupo import *
> File "scriptLattes/grupo.py", line 30, in <module>
> from membro import *
> File "scriptLattes/membro.py", line 33, in <module>
> from parserLattes import *
> File "scriptLattes/parserLattes.py", line 29, in <module>
> from tidylib import tidy_document
> ImportError: No module named tidylib
> 
> I have made some searches, and it seems that the error would be caused by not \
> having Tidy installed. However, I *do* have tidy installed here: 
> $ tidy --version
> HTML Tidy for Mac OS X version 5.1.25
> 
> I'm using Python from MacPorts:
> 
> $ python --version
> Python 2.7.11
> 
> $ which python
> /opt/local/bin/python
> 
> Could anyone enlighten me on what may be going on here?
> 
> About the program, its called ScriptLattes, a tool to acquire data from a \
> curriculum vitae repository we use in brazil, and is available here: 
> http://scriptlattes.sourceforge.net

selfupdate, then install the py27-pytidylib port. I just added the py27 version so it \
may take half an hour to appear.



_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic