New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to install kaldifeat from source #59
Comments
Could you use git clone https://github.com/csukuangfj/kaldifeat
cd kaldifeat
mkdir build
cd build
cmake ..
make and post the logs of The above logs you posted are not informative and it is not possible to figure out what bad things happened. |
Logs of cmake .. -- The C compiler identification is GNU 4.8.5 Environment variable CUDA_ROOT is set to:
For compatibility, CMake is ignoring the variable. -- Found CUDA: /cm/shared/apps/cuda10.2/toolkit/10.2.89 (found version "10.2") -- Autodetected CUDA architecture(s): 6.0 -- Configuring incomplete, errors occurred! |
Please use
to install
|
Thanks @csukuangfj it worked with the following:
|
@csukuangfj How can I export the library to use it. I tried the following but it did not work
|
Could you show the error logs? |
@csukuangfj there is no error, I managed to build kaldifeat from source using cmake, and make succesfully. But when I import it in python it does not work, so I though it might be similar to k2 that I need to export python path right? |
If it does not work, it should give you some message indicating it is not working.
Yes, if you use git clone https://github.com/csukuangfj/kaldifeat
cd kaldifeat
mkdir build
cd build
cmake ..
make -j Then you have to use export PYTHONPATH=/path/to/kaldifeat/build/lib:$PYTHONPATH
export PYTHONPATH=/path/to/kaldifeat/kaldifeat/python:$PYTHONPATH |
Thanks it worked, you can close the issue. |
I tried installing kaldifeat from source since both pip and conda installation failed.
I followed the suggestions in FAQ
Then I run the
python setup.py install
I could not capture the complete logs but I attached the CMakeOutput.log, and CMakeError.log
The installation started well but then failed for some reason, I managed to capture some of the logs manually because
The command
python setup.py install &>log
gave file with unreadable data.CMakeOutput.log
CMakeError.log
The text was updated successfully, but these errors were encountered: