Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing etree misses libxslt #12

Closed
blankclemens opened this issue Apr 13, 2017 · 3 comments
Closed

Importing etree misses libxslt #12

blankclemens opened this issue Apr 13, 2017 · 3 comments

Comments

@blankclemens
Copy link

Hello everyone,

when installing lxml in a Python 2 environment I cannot import etree from it:

from lxml import etree                                                                             │
ImportError: libiconv.so.2: cannot open shared object file: No such file or directory

There is a package libiconv on conda-forge which will change this issue to libicui18n.so.58 being the missing one.

I assume this is not really related to the package itself but rather conda or the underlying system, but I also don't know where better to ask. ;-)

Happens on Ubuntu 16.04 and it's possible to work around by using Python outside a conda environment with the apt lxml package.

@blankclemens
Copy link
Author

blankclemens commented Apr 13, 2017

Looking at #10 it shows that installing the conda-forge package libxslt will solve this issue - should that be added to the requirements?

@blankclemens blankclemens changed the title Importing etree misses libiconv.so.2 / libicui18n.so.58 Importing etree misses libxslt Apr 13, 2017
@ocefpaf
Copy link
Member

ocefpaf commented Apr 13, 2017

Take a look at http://conda-forge.github.io/docs/conda-forge_gotchas.html

Everything should work fine if conda-forge has higher preference in your channel list.

@ocefpaf ocefpaf closed this as completed Apr 13, 2017
@blankclemens
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants