titipata/pubmed_parser

ImportError: libicui18n.so.56: cannot open shared object file: No such file or directory

deakkon opened this issue · 3 comments

Started hapenning a few days ago. Tried reinstalling a few libs, but to no avail. Do you have a suggestion?

Traceback (most recent call last):
  File "main.py", line 11, in <module>
    from util import *
  File "/home/sevajuri/projects/zsl/util.py", line 8, in <module>
    import pubmed_parser as pp
  File "/home/sevajuri/anaconda2/envs/tf/lib/python2.7/site-packages/pubmed_parser/__init__.py", line 7, in <module>
    from .pubmed_oa_parser import list_xml_path, \
  File "/home/sevajuri/anaconda2/envs/tf/lib/python2.7/site-packages/pubmed_parser/pubmed_oa_parser.py", line 2, in <module>
    from lxml import etree
ImportError: libicui18n.so.56: cannot open shared object file: No such file or directory

Refer to this issue from another project, the problem seems to be because conda environment. Could you try this conda install icu=56.1 and see if it fixes?

I just started anaconda and opened a new enviroment, and I can't use spyder because I get the error:

Traceback (most recent call last):
File "/home/aeroarms/anaconda3/envs/PN/bin/spyder", line 11, in 
sys.exit(main())
File "/home/aeroarms/anaconda3/envs/PN/lib/python2.7/site-packages/spyder/app/start.py", line 159, in main
from spyder.app import mainwindow
File "/home/aeroarms/anaconda3/envs/PN/lib/python2.7/site-packages/spyder/app/mainwindow.py", line 92, in 
from qtpy import QtWebEngineWidgets # analysis:ignore
File "/home/aeroarms/anaconda3/envs/PN/lib/python2.7/site-packages/qtpy/QtWebEngineWidgets.py", line 26, in 
from PyQt5.QtWebKitWidgets import QWebPage as QWebEnginePage
ImportError: libicui18n.so.56: cannot open shared object file: No such file or directory

Then I tried:

$ conda install icu=56.1

And I get:
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  • icu=56.1

Current channels:

To search for alternate channels that may provide the conda package you're
looking for, navigate to

https://anaconda.org

and use the search bar at the top of the page.


Any suggestions what should I do to use Spyder? = /

I will close this issue due to inactivity. It's also not relevance directly to the repository. Let me know if you have a solution or link to the solution to this question!