Open WangHelin1997 opened 2 years ago
Please post all of the installation logs.
If you don't have one, please use the following method to get it:
pip uninstall lilcom
pip install --verbose -U lilcom 2>&1 | tee installationg.log
and post the file installation.log
.
Using pip 22.1.2 from /home/hwang258/anaconda3/envs/icefall_armory_june22/lib/python3.8/site-packages/pip (python 3.8)
Collecting lilcom
Using cached lilcom-1.2.1-py3-none-any.whl
Requirement already satisfied: numpy<1.23.0 in ./anaconda3/envs/icefall_armory_june22/lib/python3.8/site-packages (from lilcom) (1.22.4)
Installing collected packages: lilcom
Successfully installed lilcom-1.2.1
That's it but still now working.
Please use the above posted commands to get verbose logs.
(icefall_armory_june22) hwang258@b01:~$ pip uninstall lilcom "c07" 11:51 02-Sep-22
Found existing installation: lilcom 1.2.1
Uninstalling lilcom-1.2.1:
Would remove:
/home/hwang258/anaconda3/envs/icefall_armory_june22/lib/python3.8/site-packages/lilcom-1.2.1.dist-info/*
/home/hwang258/anaconda3/envs/icefall_armory_june22/lib/python3.8/site-packages/lilcom/*
/home/hwang258/anaconda3/envs/icefall_armory_june22/lib/python3.8/site-packages/lilcom_extension.cpython-38-x86_64-linux-gnu.so
Proceed (Y/n)? Y
Successfully uninstalled lilcom-1.2.1
(icefall_armory_june22) hwang258@b01:~$ pip install --verbose -U lilcom 2>&1 | tee installationg.log
Using pip 22.1.2 from /home/hwang258/anaconda3/envs/icefall_armory_june22/lib/python3.8/site-packages/pip (python 3.8)
Collecting lilcom
Using cached lilcom-1.2.1-py3-none-any.whl
Requirement already satisfied: numpy<1.23.0 in ./anaconda3/envs/icefall_armory_june22/lib/python3.8/site-packages (from lilcom) (1.22.4)
Installing collected packages: lilcom
Successfully installed lilcom-1.2.1
(icefall_armory_june22) hwang258@b01:~$ cat installationg.log
Using pip 22.1.2 from /home/hwang258/anaconda3/envs/icefall_armory_june22/lib/python3.8/site-packages/pip (python 3.8)
Collecting lilcom
Using cached lilcom-1.2.1-py3-none-any.whl
Requirement already satisfied: numpy<1.23.0 in ./anaconda3/envs/icefall_armory_june22/lib/python3.8/site-packages (from lilcom) (1.22.4)
Installing collected packages: lilcom
Successfully installed lilcom-1.2.1
Here is the result but after that, it still does not work.
(icefall_armory_june22) hwang258@b01:~$ 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 lilcom
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
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
Hi. I fix it by installing other version of lilcom.
@WangHelin1997 When you have time, would you mind posting the logs for the following commands:
pip uninstall -y lilcom
pip install -U --no-cache-dir lilcom 2>&1 | tee installationg.log
Hi, I also install the latest version of lhotse by installing k2 firstly. They may have some connections with each other.
I just ran into it too. The issue is likely that when you installed cmake via pip install cmake
, then the original cmake
package has a namespace conflict with cmake/build_extensions.py
in this repo.
I just ran into it too. The issue is likely that when you installed cmake via
pip install cmake
, then the originalcmake
package has a namespace conflict withcmake/build_extensions.py
in this repo.
@pzelasko Could you try again with the latest lilcom, i.e.,
pip install lilcom==1.3
Or use
pip install --upgrade lilcom
It works, thanks!
Do you know how to fix it? Thanks!