#5286 [jenkins] Add python-lxml to fedora24 slave
Closed: Fixed None Opened 7 years ago by james.

Hey can you add python-lxml to the slave, pip installing it doesn't work. It will probably fix the pip install if libxml2-devel and libxslt-devel are installed, if you'd rather do that.


This is because you are running in a virtual environment without --site-packages.

  • source fmenv/bin/activate

If I run it on the server itself:
{{{
[root@jenkins-slave-f24 ~][PROD]# python3 -c 'import lxml'
[root@jenkins-slave-f24 ~][PROD]# python2 -c 'import lxml'
[root@jenkins-slave-f24 ~][PROD]# python -c 'import lxml'
[root@jenkins-slave-f24 ~][PROD]#
}}}

Yeh, you beat me to it. I just checked and it works outside the virtualenv, but not inside it. Sorry, learning virtualenv.

Login to comment on this ticket.

Metadata