#16 Install lhotse

To install lhotse run command:

My operating system is Ubuntu 20.04.4 LTS”

np@np-INTEL:~$ pip install git+https://github.com/lhotse-speech/lhotse

Output:

np@np-INTEL:~$ pip install git+https://github.com/lhotse-speech/lhotse
Defaulting to user installation because normal site-packages is not writeable
Collecting git+https://github.com/lhotse-speech/lhotse
  Cloning https://github.com/lhotse-speech/lhotse to /tmp/pip-req-build-704zqmyf
  Running command git clone --filter=blob:none --quiet https://github.com/lhotse-speech/lhotse /tmp/pip-req-build-704zqmyf
  Resolved https://github.com/lhotse-speech/lhotse to commit f0600d13ce4c916f21dfed9d1b8b0fd3983424ab
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: torch in ./.local/lib/python3.8/site-packages (from lhotse==1.4.0.dev0+git.f0600d1.clean) (1.12.0)
Requirement already satisfied: intervaltree>=3.1.0 in ./.local/lib/python3.8/site-packages (from lhotse==1.4.0.dev0+git.f0600d1.clean) (3.1.0)
Requirement already satisfied: dataclasses in ./.local/lib/python3.8/site-packages (from lhotse==1.4.0.dev0+git.f0600d1.clean) (0.6)
Requirement already satisfied: click>=7.1.1 in ./.local/lib/python3.8/site-packages (from lhotse==1.4.0.dev0+git.f0600d1.clean) (8.1.3)
Requirement already satisfied: pyyaml>=5.3.1 in /usr/lib/python3/dist-packages (from lhotse==1.4.0.dev0+git.f0600d1.clean) (5.3.1)
Requirement already satisfied: lilcom>=1.1.0 in ./.local/lib/python3.8/site-packages/lilcom-1.2.1-py3.8-linux-x86_64.egg (from lhotse==1.4.0.dev0+git.f0600d1.clean) (1.2.1)
Requirement already satisfied: packaging in ./.local/lib/python3.8/site-packages (from lhotse==1.4.0.dev0+git.f0600d1.clean) (21.3)
Requirement already satisfied: tqdm in ./.local/lib/python3.8/site-packages (from lhotse==1.4.0.dev0+git.f0600d1.clean) (4.64.0)
Requirement already satisfied: torchaudio in ./.local/lib/python3.8/site-packages (from lhotse==1.4.0.dev0+git.f0600d1.clean) (0.12.0)
Requirement already satisfied: numpy>=1.18.1 in ./.local/lib/python3.8/site-packages (from lhotse==1.4.0.dev0+git.f0600d1.clean) (1.22.4)
Requirement already satisfied: cytoolz>=0.10.1 in ./.local/lib/python3.8/site-packages (from lhotse==1.4.0.dev0+git.f0600d1.clean) (0.11.2)
Requirement already satisfied: SoundFile>=0.10 in ./.local/lib/python3.8/site-packages (from lhotse==1.4.0.dev0+git.f0600d1.clean) (0.10.3.post1)
Requirement already satisfied: audioread>=2.1.9 in ./.local/lib/python3.8/site-packages (from lhotse==1.4.0.dev0+git.f0600d1.clean) (2.1.9)
Requirement already satisfied: toolz>=0.8.0 in ./.local/lib/python3.8/site-packages (from cytoolz>=0.10.1->lhotse==1.4.0.dev0+git.f0600d1.clean) (0.11.2)
Requirement already satisfied: sortedcontainers<3.0,>=2.0 in ./.local/lib/python3.8/site-packages (from intervaltree>=3.1.0->lhotse==1.4.0.dev0+git.f0600d1.clean) (2.4.0)
Requirement already satisfied: cffi>=1.0 in ./.local/lib/python3.8/site-packages (from SoundFile>=0.10->lhotse==1.4.0.dev0+git.f0600d1.clean) (1.15.1)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in ./.local/lib/python3.8/site-packages (from packaging->lhotse==1.4.0.dev0+git.f0600d1.clean) (3.0.9)
Requirement already satisfied: typing-extensions in ./.local/lib/python3.8/site-packages (from torch->lhotse==1.4.0.dev0+git.f0600d1.clean) (4.2.0)
Requirement already satisfied: pycparser in ./.local/lib/python3.8/site-packages (from cffi>=1.0->SoundFile>=0.10->lhotse==1.4.0.dev0+git.f0600d1.clean) (2.21)
Building wheels for collected packages: lhotse
  Building wheel for lhotse (pyproject.toml) ... done
  Created wheel for lhotse: filename=lhotse-1.4.0.dev0+git.f0600d1.clean-py3-none-any.whl size=489252 sha256=918d2e290838b540ac0b2778695b4abb2bbda0acd3970d45a6c792da08a67da0
  Stored in directory: /tmp/pip-ephem-wheel-cache-139bskpo/wheels/7f/7a/8e/a0bf241336e2e3cb573e1e21e5600952d49f5162454f2e612f
Successfully built lhotse
Installing collected packages: lhotse
Successfully installed lhotse-1.4.0.dev0+git.f0600d1.clean
np@np-INTEL:~$

Originally had a problem to install lhotse Build lilcom failed and cmake: not found :

At first I had an error:

Exception:
      Build lilcom failed. Please check the error message.

Fix : install cmake

2006  pip install git+https://github.com/lhotse-speech/lhotse
2011  git clone https://github.com/danpovey/lilcom.git
2012  cd lilcom
2013  make
2014  python3 setup.py install --user
2015  sudo apt-get install cmake
2016  python  setup.py install --user
2017  ls
2018  cd ..
2019  pip install git+https://github.com/lhotse-speech/lhotse
p@np-INTEL:~$ pip install git+https://github.com/lhotse-speech/lhotse
Defaulting to user installation because normal site-packages is not writeable
Collecting git+https://github.com/lhotse-speech/lhotse
  Cloning https://github.com/lhotse-speech/lhotse to /tmp/pip-req-build-hx2_3ayh
  Running command git clone --filter=blob:none --quiet https://github.com/lhotse-speech/lhotse /tmp/pip-req-build-hx2_3ayh
  Resolved https://github.com/lhotse-speech/lhotse to commit f0600d13ce4c916f21dfed9d1b8b0fd3983424ab
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: packaging in ./.local/lib/python3.8/site-packages (from lhotse==1.4.0.dev0+git.f0600d1.clean) (21.3)
Collecting audioread>=2.1.9
  Downloading audioread-2.1.9.tar.gz (377 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 377.5/377.5 kB 7.3 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting torchaudio
  Downloading torchaudio-0.12.0-cp38-cp38-manylinux1_x86_64.whl (3.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.7/3.7 MB 40.4 MB/s eta 0:00:00
Collecting dataclasses
  Downloading dataclasses-0.6-py3-none-any.whl (14 kB)
Collecting lilcom>=1.1.0
  Downloading lilcom-1.2.1.tar.gz (44 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.5/44.5 kB 7.6 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy>=1.18.1 in ./.local/lib/python3.8/site-packages (from lhotse==1.4.0.dev0+git.f0600d1.clean) (1.23.0)
Collecting cytoolz>=0.10.1
  Downloading cytoolz-0.11.2.tar.gz (481 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 481.0/481.0 kB 59.5 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting click>=7.1.1
  Using cached click-8.1.3-py3-none-any.whl (96 kB)
Collecting tqdm
  Downloading tqdm-4.64.0-py2.py3-none-any.whl (78 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.4/78.4 kB 19.9 MB/s eta 0:00:00
Collecting intervaltree>=3.1.0
  Downloading intervaltree-3.1.0.tar.gz (32 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: pyyaml>=5.3.1 in /usr/lib/python3/dist-packages (from lhotse==1.4.0.dev0+git.f0600d1.clean) (5.3.1)
Collecting SoundFile>=0.10
  Downloading SoundFile-0.10.3.post1-py2.py3-none-any.whl (21 kB)
Collecting torch
  Downloading torch-1.12.0-cp38-cp38-manylinux1_x86_64.whl (776.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 776.3/776.3 MB 8.3 MB/s eta 0:00:00
Requirement already satisfied: toolz>=0.8.0 in ./.local/lib/python3.8/site-packages (from cytoolz>=0.10.1->lhotse==1.4.0.dev0+git.f0600d1.clean) (0.11.2)
Collecting sortedcontainers<3.0,>=2.0
  Using cached sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
Collecting numpy>=1.18.1
  Using cached numpy-1.22.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.9 MB)
Requirement already satisfied: cffi>=1.0 in ./.local/lib/python3.8/site-packages (from SoundFile>=0.10->lhotse==1.4.0.dev0+git.f0600d1.clean) (1.15.1)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in ./.local/lib/python3.8/site-packages (from packaging->lhotse==1.4.0.dev0+git.f0600d1.clean) (3.0.9)
Requirement already satisfied: typing-extensions in ./.local/lib/python3.8/site-packages (from torch->lhotse==1.4.0.dev0+git.f0600d1.clean) (4.2.0)
Requirement already satisfied: pycparser in ./.local/lib/python3.8/site-packages (from cffi>=1.0->SoundFile>=0.10->lhotse==1.4.0.dev0+git.f0600d1.clean) (2.21)
Building wheels for collected packages: lhotse, audioread, cytoolz, intervaltree, lilcom
  Building wheel for lhotse (pyproject.toml) ... done
  Created wheel for lhotse: filename=lhotse-1.4.0.dev0+git.f0600d1.clean-py3-none-any.whl size=489252 sha256=1bdb416ef5c60f45b0a98468d04371985d758a71bbc4a6d035e4f587f06899cd
  Stored in directory: /tmp/pip-ephem-wheel-cache-ri5fogi5/wheels/7f/7a/8e/a0bf241336e2e3cb573e1e21e5600952d49f5162454f2e612f
  Building wheel for audioread (setup.py) ... done
  Created wheel for audioread: filename=audioread-2.1.9-py3-none-any.whl size=23142 sha256=f5916624cd3e18f2b3c2e89d9cb67180ceacefd1925c4906ada947513d5a02e4
  Stored in directory: /home/np/.cache/pip/wheels/49/5a/e4/df590783499a992a88de6c0898991d1167453a3196d0d1eeb7
  Building wheel for cytoolz (setup.py) ... done
  Created wheel for cytoolz: filename=cytoolz-0.11.2-cp38-cp38-linux_x86_64.whl size=1923957 sha256=14e25908945f6d415c41e3d6746c4621ede6c21dedf82c8af46df2cb9bab93ff
  Stored in directory: /home/np/.cache/pip/wheels/51/64/37/527da1f62030b9c9f746d907edfa6b3f06324ea42197262ef2
  Building wheel for intervaltree (setup.py) ... done
  Created wheel for intervaltree: filename=intervaltree-3.1.0-py2.py3-none-any.whl size=26102 sha256=0ea1ff6afbc2ec7d2d920f74f961683d3c80d28b060e40828cbc0a6bf8063dee
  Stored in directory: /home/np/.cache/pip/wheels/45/23/de/5789a92962483fd33cb06674792b9697c1b3766d7c7742830e
  Building wheel for lilcom (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [65 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-3.8
      creating build/lib.linux-x86_64-3.8/lilcom
      copying lilcom/lilcom_interface.py -> build/lib.linux-x86_64-3.8/lilcom
      copying lilcom/__init__.py -> build/lib.linux-x86_64-3.8/lilcom
      running build_ext
      Setting PYTHON_EXECUTABLE to /usr/bin/python3
      For fast compilation, run:
      export LILCOM_MAKE_ARGS="-j"; python setup.py install
      build command is:
      
                      cd build/temp.linux-x86_64-3.8
      
                      cmake -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/bin/python3 /tmp/pip-install-q_veytuy/lilcom_469622cd8f19458a94124422e45c1798
      
      
                      make  lilcom_extension
      
      sh: 4: cmake: not found
      make: *** No rule to make target 'lilcom_extension'.  Stop.
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-q_veytuy/lilcom_469622cd8f19458a94124422e45c1798/setup.py", line 52, in <module>
          setuptools.setup(
        File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 144, in setup
          return distutils.core.setup(**attrs)
        File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
          dist.run_commands()
        File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
          self.run_command(cmd)
        File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
          cmd_obj.run()
        File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 223, in run
          self.run_command('build')
        File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
          self.distribution.run_command(command)
        File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
          cmd_obj.run()
        File "/usr/lib/python3.8/distutils/command/build.py", line 135, in run
          self.run_command(cmd_name)
        File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
          self.distribution.run_command(command)
        File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
          cmd_obj.run()
        File "/usr/lib/python3/dist-packages/setuptools/command/build_ext.py", line 87, in run
          _build_ext.run(self)
        File "/usr/lib/python3.8/distutils/command/build_ext.py", line 340, in run
          self.build_extensions()
        File "/usr/lib/python3.8/distutils/command/build_ext.py", line 449, in build_extensions
          self._build_extensions_serial()
        File "/usr/lib/python3.8/distutils/command/build_ext.py", line 474, in _build_extensions_serial
          self.build_extension(ext)
        File "/tmp/pip-install-q_veytuy/lilcom_469622cd8f19458a94124422e45c1798/cmake/cmake_extension.py", line 101, in build_extension
          raise Exception(
      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
Successfully built lhotse audioread cytoolz intervaltree
Failed to build lilcom
Installing collected packages: sortedcontainers, dataclasses, audioread, tqdm, torch, numpy, intervaltree, cytoolz, click, torchaudio, SoundFile, lilcom, lhotse
  Attempting uninstall: numpy
    Found existing installation: numpy 1.23.0
    Uninstalling numpy-1.23.0:
      Successfully uninstalled numpy-1.23.0
  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
  ╰─> [67 lines of output]
      running install
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-3.8
      creating build/lib.linux-x86_64-3.8/lilcom
      copying lilcom/lilcom_interface.py -> build/lib.linux-x86_64-3.8/lilcom
      copying lilcom/__init__.py -> build/lib.linux-x86_64-3.8/lilcom
      running build_ext
      Setting PYTHON_EXECUTABLE to /usr/bin/python3
      For fast compilation, run:
      export LILCOM_MAKE_ARGS="-j"; python setup.py install
      build command is:
      
                      cd build/temp.linux-x86_64-3.8
      
                      cmake -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/bin/python3 /tmp/pip-install-q_veytuy/lilcom_469622cd8f19458a94124422e45c1798
      
      
                      make  lilcom_extension
      
      sh: 4: cmake: not found
      make: *** No rule to make target 'lilcom_extension'.  Stop.
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-q_veytuy/lilcom_469622cd8f19458a94124422e45c1798/setup.py", line 52, in <module>
          setuptools.setup(
        File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 144, in setup
          return distutils.core.setup(**attrs)
        File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
          dist.run_commands()
        File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
          self.run_command(cmd)
        File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
          cmd_obj.run()
        File "/usr/lib/python3/dist-packages/setuptools/command/install.py", line 61, in run
          return orig.install.run(self)
        File "/usr/lib/python3.8/distutils/command/install.py", line 589, in run
          self.run_command('build')
        File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
          self.distribution.run_command(command)
        File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
          cmd_obj.run()
        File "/usr/lib/python3.8/distutils/command/build.py", line 135, in run
          self.run_command(cmd_name)
        File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
          self.distribution.run_command(command)
        File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
          cmd_obj.run()
        File "/usr/lib/python3/dist-packages/setuptools/command/build_ext.py", line 87, in run
          _build_ext.run(self)
        File "/usr/lib/python3.8/distutils/command/build_ext.py", line 340, in run
          self.build_extensions()
        File "/usr/lib/python3.8/distutils/command/build_ext.py", line 449, in build_extensions
          self._build_extensions_serial()
        File "/usr/lib/python3.8/distutils/command/build_ext.py", line 474, in _build_extensions_serial
          self.build_extension(ext)
        File "/tmp/pip-install-q_veytuy/lilcom_469622cd8f19458a94124422e45c1798/cmake/cmake_extension.py", line 101, in build_extension
          raise Exception(
      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.
np@np-INTEL:~$ cd lilco
bash: cd: lilco: No such file or directory
np@np-INTEL:~$ ^C
np@np-INTEL:~$ git clone git@github.com/danpovey/lilcom.git
fatal: repository 'git@github.com/danpovey/lilcom.git' does not exist
np@np-INTEL:~$ git clone git@github.com:danpovey/lilcom.git
Cloning into 'lilcom'...
The authenticity of host 'github.com (192.30.255.112)' can't be established.
ECDSA key fingerprint is SHA256:p2QAMXNIC1TJYWeIOttrVc98/R1BUFWu3/LiyKgUfQM.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'github.com,192.30.255.112' (ECDSA) to the list of known hosts.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
np@np-INTEL:~$ git clone git@github.com:danielpovey/lilcom.git
Cloning into 'lilcom'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
np@np-INTEL:~$ git clone https://github.com/danpovey/lilcom.git
Cloning into 'lilcom'...
cremote: Enumerating objects: 1961, done.
remote: Counting objects: 100% (66/66), done.
remote: Compressing objects: 100% (48/48), done.
remote: Total 1961 (delta 22), reused 43 (delta 13), pack-reused 1895
Receiving objects: 100% (1961/1961), 18.99 MiB | 28.81 MiB/s, done.
Resolving deltas: 100% (1232/1232), done.
np@np-INTEL:~$ cd lilcom
np@np-INTEL:~/lilcom$ make
make: *** No targets specified and no makefile found.  Stop.
np@np-INTEL:~/lilcom$ python3 setup.py install --user
running install
/home/np/anaconda3/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
/home/np/anaconda3/lib/python3.8/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
running bdist_egg
running egg_info
creating lilcom.egg-info
writing lilcom.egg-info/PKG-INFO
writing dependency_links to lilcom.egg-info/dependency_links.txt
writing requirements to lilcom.egg-info/requires.txt
writing top-level names to lilcom.egg-info/top_level.txt
writing manifest file 'lilcom.egg-info/SOURCES.txt'
reading manifest file 'lilcom.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'lilcom.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/lilcom
copying lilcom/lilcom_interface.py -> build/lib.linux-x86_64-3.8/lilcom
copying lilcom/__init__.py -> build/lib.linux-x86_64-3.8/lilcom
running build_ext
Setting PYTHON_EXECUTABLE to /home/np/anaconda3/bin/python
For fast compilation, run:
export LILCOM_MAKE_ARGS="-j"; python setup.py install
build command is:

                cd build/temp.linux-x86_64-3.8

                cmake -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/home/np/anaconda3/bin/python /home/np/lilcom


                make  lilcom_extension
            
sh: 4: cmake: not found
make: *** No rule to make target 'lilcom_extension'.  Stop.
Traceback (most recent call last):
  File "setup.py", line 52, in <module>
    setuptools.setup(
  File "/home/np/anaconda3/lib/python3.8/site-packages/setuptools/__init__.py", line 87, in setup
    return distutils.core.setup(**attrs)
  File "/home/np/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 148, in setup
    return run_commands(dist)
  File "/home/np/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
    dist.run_commands()
  File "/home/np/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
    self.run_command(cmd)
  File "/home/np/anaconda3/lib/python3.8/site-packages/setuptools/dist.py", line 1214, in run_command
    super().run_command(command)
  File "/home/np/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
    cmd_obj.run()
  File "/home/np/anaconda3/lib/python3.8/site-packages/setuptools/command/install.py", line 74, in run
    self.do_egg_install()
  File "/home/np/anaconda3/lib/python3.8/site-packages/setuptools/command/install.py", line 123, in do_egg_install
    self.run_command('bdist_egg')
  File "/home/np/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/np/anaconda3/lib/python3.8/site-packages/setuptools/dist.py", line 1214, in run_command
    super().run_command(command)
  File "/home/np/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
    cmd_obj.run()
  File "/home/np/anaconda3/lib/python3.8/site-packages/setuptools/command/bdist_egg.py", line 165, in run
    cmd = self.call_command('install_lib', warn_dir=0)
  File "/home/np/anaconda3/lib/python3.8/site-packages/setuptools/command/bdist_egg.py", line 151, in call_command
    self.run_command(cmdname)
  File "/home/np/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/np/anaconda3/lib/python3.8/site-packages/setuptools/dist.py", line 1214, in run_command
    super().run_command(command)
  File "/home/np/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
    cmd_obj.run()
  File "/home/np/anaconda3/lib/python3.8/site-packages/setuptools/command/install_lib.py", line 11, in run
    self.build()
  File "/home/np/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/command/install_lib.py", line 107, in build
    self.run_command('build_ext')
  File "/home/np/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/np/anaconda3/lib/python3.8/site-packages/setuptools/dist.py", line 1214, in run_command
    super().run_command(command)
  File "/home/np/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
    cmd_obj.run()
  File "/home/np/anaconda3/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 79, in run
    _build_ext.run(self)
  File "/home/np/anaconda3/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
    _build_ext.build_ext.run(self)
  File "/home/np/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 339, in run
    self.build_extensions()
  File "/home/np/anaconda3/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
    _build_ext.build_ext.build_extensions(self)
  File "/home/np/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 448, in build_extensions
    self._build_extensions_serial()
  File "/home/np/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 473, in _build_extensions_serial
    self.build_extension(ext)
  File "/home/np/lilcom/cmake/cmake_extension.py", line 101, in build_extension
    raise Exception(
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

np@np-INTEL:~/lilcom$ python3 setup.py install --user