flashlight / wav2letter

Facebook AI Research's Automatic Speech Recognition Toolkit
https://github.com/facebookresearch/wav2letter/wiki
Other
6.35k stars 1.02k forks source link

wav2letter install problem at Colab(ERROR: Command errored out with exit status 1) #992

Open epona7471 opened 2 years ago

epona7471 commented 2 years ago

Below is my coding

https://github.com/epona7471/YoonKang.github.io/blob/main/install.ipynb (followed by guide line at https://github.com/mailong25/self-supervised-speech-recognition/blob/master/Dependencies.md)

As guided at other issues, I uninstalled colab cuda 11.0 and reinstalled a cuda 10.1

and any other suggested stuff to debug, I still get an error. (1. os.environ['KENLM_ROOT_DIR'] = "/content/drive/MyDrive/Code/wav2vec2/self-supervised-speech-recognition/libs/kenlm/"

  1. !export USE_CUDA=0
  2. Delete 'build' folder everytime I start '!pip install -e .'

Log data is below.

Obtaining file:///content/drive/My%20Drive/Code/wav2vec2/self-supervised-speech-recognition/libs/wav2letter/bindings/python Installing collected packages: wav2letter Running setup.py develop for wav2letter ERROR: Command errored out with exit status 1: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/content/drive/My Drive/Code/wav2vec2/self-supervised-speech-recognition/libs/wav2letter/bindings/python/setup.py'"'"'; file='"'"'/content/drive/My Drive/Code/wav2vec2/self-supervised-speech-recognition/libs/wav2letter/bindings/python/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output.

Any other tips to solve this error?

BakingBrains commented 2 years ago

Were you able to solve this?