facebookresearch / textlesslib

Library for Textless Spoken Language Processing
MIT License
518 stars 50 forks source link

installation bugs #32

Closed 0nutation closed 6 months ago

0nutation commented 6 months ago

when pip install git+git://github.com:pytorch/fairseq.git@dd106d9534b22e7db859a6b87ffd7780c38341f8, I meet error this error:

Collecting git+https://github.com/pytorch/fairseq@dd106d9534b22e7db859a6b87ffd7780c38341f8
  Cloning https://github.com/pytorch/fairseq (to revision dd106d9534b22e7db859a6b87ffd7780c38341f8) to /tmp/pip-req-build-4wmniw7i
  Running command git clone --quiet https://github.com/pytorch/fairseq /tmp/pip-req-build-4wmniw7i
  Running command git rev-parse -q --verify 'sha^dd106d9534b22e7db859a6b87ffd7780c38341f8'
  Running command git fetch -q https://github.com/pytorch/fairseq dd106d9534b22e7db859a6b87ffd7780c38341f8
  Running command git checkout -q dd106d9534b22e7db859a6b87ffd7780c38341f8
  Resolved https://github.com/pytorch/fairseq to commit dd106d9534b22e7db859a6b87ffd7780c38341f8
  Running command git submodule update --init --recursive -q
  fatal: reference is not a tree: adb23324c222aad0aad89308e70302d996a5eaeb
  Unable to checkout 'adb23324c222aad0aad89308e70302d996a5eaeb' in submodule path 'fairseq/model_parallel/megatron'
  error: subprocess-exited-with-error

  × git submodule update --init --recursive -q did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× git submodule update --init --recursive -q did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

how can I solve this ?