libpython3.8.so.1.0: cannot open shared object file: No such file or directory

See original GitHub issue

How to fix that problem? Thanks!

(icefall_armory_june22) hwang258@b01:~/codes/icefall/egs/yesno/ASR$ python
Python 3.8.13 (default, Mar 28 2022, 11:38:47)
[GCC 7.5.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import lhotse
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/hwang258/anaconda3/envs/icefall_armory_june22/lib/python3.8/site-packages/lhotse/__init__.py", line 8, in <module>
    from .cut import CutSet, MonoCut, create_cut_set_eager, create_cut_set_lazy
  File "/home/hwang258/anaconda3/envs/icefall_armory_june22/lib/python3.8/site-packages/lhotse/cut.py", line 46, in <module>
    from lhotse.features import (
  File "/home/hwang258/anaconda3/envs/icefall_armory_june22/lib/python3.8/site-packages/lhotse/features/__init__.py", line 1, in <module>
    from .base import (
  File "/home/hwang258/anaconda3/envs/icefall_armory_june22/lib/python3.8/site-packages/lhotse/features/base.py", line 19, in <module>
    from lhotse.features.io import FeaturesWriter, get_reader
  File "/home/hwang258/anaconda3/envs/icefall_armory_june22/lib/python3.8/site-packages/lhotse/features/io.py", line 9, in <module>
    import lilcom
  File "/home/hwang258/anaconda3/envs/icefall_armory_june22/lib/python3.8/site-packages/lilcom/__init__.py", line 2, in <module>
    from .lilcom_interface import compress, decompress, get_shape
  File "/home/hwang258/anaconda3/envs/icefall_armory_june22/lib/python3.8/site-packages/lilcom/lilcom_interface.py", line 3, in <module>
    import lilcom_extension
ImportError: libpython3.8.so.1.0: cannot open shared object file: No such file or directory

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
davidlin409commented, Nov 22, 2022

Indeed that solve the LD_LBIRARY_PATH completely. Thank you very much for such fast fix 😄.

0reactions
csukuangfjcommented, Nov 22, 2022

Indeed export cna resolve the issue for short term.

There is another way that does not requires “export”.

I tries to force-install lilcom from Miniconda via lilcom channel, and the issue is also resolved.

Maybe in documentation, explanation can be added to advice user to install lilcom from Miniconda/Anaconda if user’s Python is installed from there?

@davidlin409 It should be fixed in https://github.com/danpovey/lilcom/pull/48

Please use the latest lilcom (v1.5). You don’t need to set LD_LBIRARY_PATH any more.

Read more comments on GitHub >

github_iconTop Results From Across the Web

python: error while loading shared libraries: libpython3.4m.so ...
python: error while loading shared libraries: libpython3.4m.so.1.0: cannot open shared object file: No such file or directory · Ask Question.
Read more >
Problem with libpython3.8.so.1.0 · Issue #18 - GitHub
... error while loading shared libraries: libpython3.8.so.1.0: cannot open shared object file: No such file or directory Ter...
Read more >
Getting `libpython3.8.so.1.0: cannot open shared object file
Getting `libpython3.8.so.1.0: cannot open shared object file: No such file or directory` for Imunify installation.
Read more >
python - How to Resolve "error while loading shared libraries ...
How to Resolve "error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory" on Ubuntu ...
Read more >
python: error while loading shared libraries - Archeaopteryx
python manage.py runserver python: error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found