[2008.12] BeautifulSoup and Python... how?

Francesco de Virgilio fradeve11 at gmail.com
Fri Jan 2 14:46:49 CET 2009


Solved :D
I've managed to import manually all the libraries necessary to import
BeautifulSoup: I copied on the running dir of my script (on the FR) the
following libraries:

markupbase.py
sgmllib.py
BeautifulSoup.py

and all worked fine :D
Thanks to arne and RMS ;)

arne anka ha scritto:
>> However, no results:
> 
> quite interesting!
> when i do
> 
> $ apt-file search sgmllib
> 
> in debian i get
> 
> diveintopython:  
> /usr/share/doc/diveintopython/html/html_processing/introducing_sgmllib.html
> diveintopython-zh:  
> /usr/share/doc/diveintopython-zh/html/html_processing/introducing_sgmllib.html
> jython: /usr/share/jython/Lib/sgmllib.py
> jython: /usr/share/jython/Lib/test/test_sgmllib.py
> pypy-lib: /usr/share/pypy-1.0/lib-python/2.4.1/sgmllib.py
> pypy-lib: /usr/share/pypy-1.0/lib-python/2.4.1/test/test_sgmllib.py
> python-xml: /usr/share/pyshared/_xmlplus/parsers/sgmllib.py
> python-xml: /usr/share/pyshared/_xmlplus/sax/drivers/drv_sgmllib.py
> python-xml: /usr/share/pyshared/_xmlplus/sax/drivers2/drv_sgmllib.py
> python2.4: /usr/lib/python2.4/sgmllib.py
> python2.4-doc: /usr/share/doc/python2.4/html/lib/module-sgmllib.html
> python2.5: /usr/lib/python2.5/sgmllib.py
> python2.5-doc: /usr/share/doc/python2.5/html/lib/module-sgmllib.html
> vegastrike-data: /usr/share/games/vegastrike/modules/builtin/sgmllib.py
> 
> 
> hence, it should be part of standard python. you should try to install  
> python-xml (or the package with closest matching name).
> 
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community

-- 
Francesco de Virgilio
*Ubuntu-it Member and Wiki Editor*
   mailto:fradeve at ubuntu-it.org
   http://wiki.ubuntu-it.org/FrancescoDeVirgilio
*Wikimedia Italia Member*
   http://en.wikipedia.org/wiki/User:Fradeve11
*OpenStreetMap Mapper*
   http://www.openstreetmap.org/user/Fradeve11
*Blog*
   http://fradeve.netsons.org
		"Love - Peace - Freedom - Free Software"




More information about the community mailing list