Skip to content
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

Taking forever to install kaldifeat #45

Closed
huangruizhe opened this issue Jul 31, 2022 · 11 comments
Closed

Taking forever to install kaldifeat #45

huangruizhe opened this issue Jul 31, 2022 · 11 comments

Comments

@huangruizhe
Copy link

Hello, I am trying to install kaldifeat following the instructions in the doc, with this command:
pip install --verbose kaldifeat

It's been ~8 hours now but it seems the program got stuck at this place:
image

I was wondering if this is normal or if perhaps I should ask for some help now. Thank you!

@csukuangfj
Copy link
Owner

Could you press ctrl + c and see whether there are any more logs?

It is not normal that it would take so long to install.

@huangruizhe
Copy link
Author

huangruizhe commented Jul 31, 2022

Thanks, and here is the result:

image

@csukuangfj
Copy link
Owner

Could you use

git clone https://github.com/csukuangfj/kaldifeat/
cd kaldifeat
mkdir build
cd build
cmake ..
make -j
export PYTHONPATH=$PWD/../kaldifeat/python:$PWD/lib:$PYTHONPATH

cd $HOME
python3 -c "import kaldifeat; print(kaldifeat.__file__)"

@huangruizhe
Copy link
Author

Thanks for the detailed instructions! I will try now.

@huangruizhe
Copy link
Author

After a while, it got stuck at the same place again (maybe 20+ minutes now):

image

Is it related to some failed tests as shown on the screenshot?

@csukuangfj
Copy link
Owner

I guess it probably has something with your NFS.

Could you try https://csukuangfj.github.io/kaldifeat/installation.html#install-kaldifeat-from-conda-only-for-linux
to instal kaldifeat using conda install.

I have no idea about how to fix your issue.

@huangruizhe
Copy link
Author

Ok, I see. I tried installing it with conda earlier, but conda is very slow in figuring out package dependencies.. Then I tried pip, and installing from src as you suggested.
I will ask others if they have successfully installed kaldifeat on our system. Will update you if there is a solution.

@csukuangfj
Copy link
Owner

conda is very slow in figuring out package dependencies

That should not be the case. There might be something wrong with your system.


Then I tried pip,

That is also installing from source.


I will ask others if they have successfully installed kaldifeat on our system.

Yes, that is a good idea.

@pzelasko
Copy link

If conda is too slow, you can try mamba, it is the same as conda, but resolves dependencies much faster.

https://mamba.readthedocs.io/en/latest/installation.html

@huangruizhe
Copy link
Author

Thanks, @csukuangfj and @pzelasko for the suggestions!
Finally, it turns out it is the problem of the system. It is very "lucky" that the node that I usually ssh to has something wrong. I couldn't even install mamba or a new conda -- which takes a forever long time too.
When I ssh to another node, the problem is resolved. I can now install kaldifeat with conda.
It is also a good time to try mamba.

@csukuangfj
Copy link
Owner

Nice to hear that you fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants