k2-fsa / k2

FSA/FST algorithms, differentiable, with PyTorch compatibility.
https://k2-fsa.github.io/k2
Apache License 2.0
1.1k stars 214 forks source link

Installation #1206

Open Ankita-Phd opened 1 year ago

Ankita-Phd commented 1 year ago

Screenshot from 2023-06-02 18-37-13 Screenshot from 2023-06-02 18-37-26

csukuangfj commented 1 year ago

Could you describe how do you install k2? How many python versions are there in your system?

Ankita-Phd commented 1 year ago

I have installed using CONDA

conda install -c k2-fsa -c pytorch -c nvidia k2 pytorch=1.13.0 pytorch-cuda=11.7 python=3.8

The only changes i made was in python version which i set to python = python 3.9 instead of python 3.8

I have only one python i.e. 3.9 However, previously it was python 2 because of the kaldi toolkit. I had upgraded it earlier using "python is python 3".

On Fri, Jun 2, 2023 at 8:02 PM Fangjun Kuang @.***> wrote:

Could you describe how do you install k2? How many python versions are there in your system?

— Reply to this email directly, view it on GitHub https://github.com/k2-fsa/k2/issues/1206#issuecomment-1573838376, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV5PPP435Y2Z7MSHFRDHCSDXJH2QVANCNFSM6AAAAAAYYJTRIU . You are receiving this because you authored the thread.Message ID: @.***>

csukuangfj commented 1 year ago

Please don't use conda as we have not updated conda packages.

Please either install k2 from pre-compiled wheels and from source.

Ankita-Phd commented 1 year ago

Ok..I will try.

Thank you

On Sat, Jun 3, 2023, 11:56 Fangjun Kuang @.***> wrote:

Please don't use conda as we have not updated conda packages.

Please either install k2 from pre-compiled wheels and from source.

— Reply to this email directly, view it on GitHub https://github.com/k2-fsa/k2/issues/1206#issuecomment-1574709062, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV5PPP6SJHFMDX7VJTEABCTXJLKJHANCNFSM6AAAAAAYYJTRIU . You are receiving this because you authored the thread.Message ID: @.***>