Install kaldifeat from source

You have to install cmake and PyTorch first.

  • cmake 3.11 is known to work. Other CMake versions may also work.

  • PyTorch >= 1.5.0 is known to work. Other PyTorch versions may also work.

  • Python >= 3.6

  • A compiler that supports C++ 14

The commands to install kaldifeat from source are:

git clone https://github.com/csukuangfj/kaldifeat
cd kaldifeat
python3 setup.py install

To test that you have installed kaldifeat successfully, please run:

python3 -c "import kaldifeat; print(kaldifeat.__version__)"

It should print the version, e.g., 1.0.

Install kaldifeat from PyPI

The command to install kaldifeat from PyPI is:

pip install --verbose kaldifeat

To test that you have installed kaldifeat successfully, please run:

python3 -c "import kaldifeat; print(kaldifeat.__version__)"

It should print the version, e.g., 1.0.