jsbroks/imantics

ImportError

junliu-cn opened this issue · 1 comments

Traceback (most recent call last):
  File "instance.py", line 8, in <module>
    from imantics import Polygons, Mask
  File "/home/chris/anaconda3/envs/gluon/lib/python3.6/site-packages/imantics/__init__.py", line 1, in <module>
    from .annotation import *
  File "/home/chris/anaconda3/envs/gluon/lib/python3.6/site-packages/imantics/annotation.py", line 1, in <module>
    from lxml import etree as ET
ImportError: libiconv.so.2: cannot open shared object file: No such file or directory

I solved this problem by update conda: conda install -c conda-forge libiconv