greenelab / snorkeling

Extracting biomedical relationships from literature with Snorkel 🏊
Other
59 stars 17 forks source link

Conda forge breaks lxml #19

Closed danich1 closed 7 years ago

danich1 commented 7 years ago

There is a bug when trying to rely on conda forge to install the python module lxml. Right now if one were to create the conda environment and import lxml.etree, the following error will occur:

Traceback (most recent call last): File "", line 1, in ImportError: libicui18n.so.56: cannot open shared object file: No such file or directory

Therefore, I argue that we move lxml to be a pip dependency as installing lxml through that way fixes it.

dhimmel commented 7 years ago

Lot's of related issues on GitHub:

lxml via pip could be a good workaround. It looks like you may also be able to specify icu=56.1.

gwaybio commented 7 years ago

Just encountered a similar situation and landed here searching for solutions. I was able to solve the conda forge error:

>>> import igraph
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/gway/anaconda3/envs/gea_community_detection/lib/python2.7/site-packages/igraph/__init__.py", line 34, in <module>
    from igraph._igraph import *
ImportError: libicui18n.so.58: cannot open shared object file: No such file or directory

by specifying icu=58 in the environment.yml file in greenelab/GEA_Community_Detection#23