mailong25 / self-supervised-speech-recognition

speech to text with self-supervised learning based on wav2vec 2.0 framework
382 stars 115 forks source link

error install wav2letter #68

Open baoloc97 opened 2 years ago

baoloc97 commented 2 years ago

ERROR: Command errored out with exit status 1: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/baoloc2509/Desktop/Project/Rever/Call_transcription/self-supervised-speech-recognition/libs/wav2letter/bindings/python/setup.py'"'"'; file='"'"'/home/baoloc2509/Desktop/Project/Rever/Call_transcription/self-supervised-speech-recognition/libs/wav2letter/bindings/python/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output.

when i try to export KENLM_ROOT_DIR=path/to/libs/kenlm/ && pip install -e . i read all the same issue on this page but cant help.

HaQuocHuyPtit commented 2 years ago

me too, any help ?

kietbg0079 commented 2 years ago

remove "path/to/libs/kenlm/" with the path of kenlm folder. It should look like this in google colab "/content/self-supervised-speech-recognition/libs/kenlm/"

jmukiibi commented 1 year ago

You can read this for your guidance: https://github.com/flashlight/wav2letter/wiki/Building-Python-bindings