[BioPython] biopython 1.21 problem with Martel

Andreas Kuntzagk andreas.kuntzagk at mdc-berlin.de
Thu Aug 28 11:06:35 EDT 2003


> I am running SuSe Linux 8.1, I have python 2.2.1

Me too.

> Still it fails the tests:
> ...biopython-1.21/Martel> python setup.py installtest
> running installtest
> ###### running tests in test_Expression ###############
> Traceback (most recent call last):
>   File "setup.py", line 158, in ?
>   File "/usr/lib/python2.2/distutils/core.py", line 138, in setup
>     dist.run_commands()
>   File "/usr/lib/python2.2/distutils/dist.py", line 893, in run_commands
>     self.run_command(cmd)
>   File "/usr/lib/python2.2/distutils/dist.py", line 913, in run_command
>     cmd_obj.run()
>   File "setup.py", line 139, in run
>   File "run_tests.py", line 16, in main
>     module = __import__(name)
>   File "test_Expression.py", line 3, in ?
>     from Martel import Re
>   File "/usr/lib/python2.2/site-packages/Martel/__init__.py", line 6, in ?
>     import Expression
>   File "/usr/lib/python2.2/site-packages/Martel/Expression.py", line 31, 
> in ?
>     from xml.sax import xmlreader
> ImportError: No module named xml.sax

Looks like the xml-packages are not installed. Pleas install the
python-xml rpm from your installation-media and try again.

HtH, Andreas



More information about the BioPython mailing list