mbzuai-nlp / ArTST

24 stars 2 forks source link

Faiseq unable to install #6

Closed ramiKammoun closed 1 month ago

ramiKammoun commented 1 month ago

When I first clone the project for installment and try to install the requirements.txt file; A problem shows with the normal installment:

Collecting ctc-segmentation>=1.6.6 (from espnet->-r requirements.txt (line 3))
  Using cached ctc_segmentation-1.7.4.tar.gz (73 kB)
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) 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.
  Preparing metadata (pyproject.toml) ... error
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Also there is a problem with installing fairseq as it shows :

No module named 'fairseq' is found
Theehawau commented 1 month ago
  1. It seems installing ctc_segmentation fails. You can try changing the version required in the requirements.txt file or not specifying any version.

  2. Please try installing fairseq manually:

    git clone https://github.com/pytorch/fairseq
    cd fairseq
    pip install --editable ./

or

pip install fairseq
ramiKammoun commented 1 month ago

Unfortunately, the problem still persists!

ramiKammoun commented 1 month ago

For the installation of fairseq, it has been resolved if you just downgrade the version of pip to:

python -m pip install pip==24.0