Output from commands:
python -c 'import lxml; print lxml'
<module 'lxml' from '/usr/lib/python2.5/site-packages/lxml/__init__.pyc'>
python -c 'import lxml.etree; print lxml.etree'
<module 'lxml' from '/usr/lib/python2.5/site-packages/lxml/__init__.pyc'>
python -c 'import lxml.etree; print lxml.etree.LXML_VERSION'
(1, 3, 6, 0)
Obviously the lxml version is too old as you may have expected. I then looked
in the Synaptic package manager and saw the version 1.3.6-1, and it also stated
in the column 'Latest Version'=1.3.6-1.
This got the best of me since i didn't understand why it considered this
version as the latest, so I asked in the GnuRadio IRC Channel. Someone there
said that lxml version 2.x.x demands Ubuntu 8.10 or newer.
Do you agree with this? It certainly make sense with the 'latest version'
problem. If this is true my Ubunutu 8.04 is unable to install this component
anyway. So can I upgrade Ubuntu to make this work or should I simply remove it
and Install the newest version (9.04)?
The reason why I installed 8.04 in the first place was because I got errors
trying to install 9.04 from Windows XP (Wubi). This is however a completely
different matter to be solved...
Thank you for your time Josh.
Regards
Anton
________________________________________
Från: Josh Blum address@hidden
Skickat: den 16 september 2009 18:21
Till: Anton K Skårbratt
Cc: address@hidden
Ämne: Re: GNU Radio - Skipped components
It seems that lxml cannot be imported, or the version checking isnt
working, or wrong. Try to run these commands and post the output:
python -c 'import lxml; print lxml'
python -c 'import lxml.etree; print lxml.etree'
python -c 'import lxml.etree; print lxml.etree.LXML_VERSION'
-Josh
--------------------------------------------
Some problem with Python lxml wrappers? I don't know what to do. Have tried installing
libxml2, libxslt1.1, cython as previous mails in the list suggestes.. All saying "
is already the newest version".
Also "sudo apt-get -y install python-lxml" returns " is already the newest
version".
I will be thankful for advice concerning the other non-built components as
well. I am quite new in Linux so maybe i have missed something obvious?
Regards
Anton