Jump to content


Emtec

Member Since 25 Nov 2013
Offline Last Active 12 May 2018 16:31
-----

Topics I've Started

zap2xml.py error: No module named HTMLParser

26 December 2017 - 23:18

Hi

 

I'm trying to get the egg working of a couple of USA channels through zap2it.com

There is a file which I need to run on the box called zap2xml.py

On the box I run: phyton zap2xml.py however I'm getting the following error:

 

File "zap2xml.py", line 4, in <module>

    from HTMLParser import HTMLParser

ImportError: No module named HTMLParser

 

I also installed the python mechanize with the following command which was executed successfully:

opkg install python-mechanize

 

The error "no module named HTMLParser" what does it actually mean? Do I forgot to install something?

I'm stuck on this one and hope somebody can help me out.