-
Notifications
You must be signed in to change notification settings - Fork 106
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
can't install k2-sherpa #127
Comments
What is the command you used to install the dependencies? Also, what is your OS? |
conda install
My OS is Ubuntu18.04. And my Python version is 3.9.13. I use conda like:
And here is all my packages:
|
The above env 'k2_py38' is not correct, just ignore it |
I see that you have installed |
Sorry, no sherpa installed. I copied it from your doc here. I forgot to remove it. There is no sherpa in my env. |
By the way, I tried to install sherpa using conda, and it did work, even running on GPU. But you said conda installation of sherpa is to be done according to your doc. |
The installation commands using conda install for CPU and GPU are different. For instance, for the GPU version, you need to install a GPU version of PyTorch, which needs to select which cudatoolkit to use. The doc has not been updated to describe how to install a GPU version of sherpa. |
By the way, I just tried
It works like a charm and I cannot reproduce your issue. |
I didn't use cpuonly pytorch. I use it with cuda 10.2 |
I installed all other dependencies using conda. And when I install sherpa using
pip install --verbose k2-sherpa
, I encountered the errors like k2-fsa/k2#1031 .I tried to add path of libmkl by LD_LIBRARY_PATH like:
Still not work.
The text was updated successfully, but these errors were encountered: