danpovey / lilcom

Small compression utility

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build lilcom failed. Please check the error message. -- solved!

Amoolya-projects opened this issue · comments

I am trying to install lhotse
and I am getting this error:
Build lilcom failed. Please check the error message.

Code I used:
pip install git+https://github.com/lhotse-speech/lhotse

Please help.

Please post the full error log from the installation, it should have some pointers what happened.

Please post the full error log from the installation, it should have some pointers what happened.

Building wheels for collected packages: lilcom
Building wheel for lilcom (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [73 lines of output]

Exception:
Build lilcom failed. Please check the error message.
You can ask for help by creating an issue on GitHub.

  Click:
      https://github.com/danpovey/lilcom/issues/new

  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for lilcom
Running setup.py clean for lilcom
Failed to build lilcom
Installing collected packages: lilcom, cytoolz, cffi, SoundFile, lhotse
Running setup.py install for lilcom ... error
error: subprocess-exited-with-error

× Running setup.py install for lilcom did not run successfully.
│ exit code: 1
╰─> [77 lines of output]

Exception:
Build lilcom failed. Please check the error message.
You can ask for help by creating an issue on GitHub.

  Click:
      https://github.com/danpovey/lilcom/issues/new

  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> lilcom

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

Is this helpful?

Please post all the logs.

Thank you for the quick replies.
This error got solved.

Cmake was not installed properly. So uninstalled and reinstalled the cmake.

To install cmake:
sudo snap install cmake