Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wav2letter install problem at Colab #63

Open
epona7471 opened this issue Oct 18, 2021 · 4 comments
Open

wav2letter install problem at Colab #63

epona7471 opened this issue Oct 18, 2021 · 4 comments

Comments

@epona7471
Copy link

Below is my coding

https://github.com/epona7471/YoonKang.github.io/blob/main/install.ipynb

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/"
2. !export USE_CUDA=0
3. 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.

@BakingBrains
Copy link

@epona7471 Were you able to fix this?

@detrin
Copy link

detrin commented Jan 13, 2022

I run into the same exact issue. I suppose it is due to the fact that wav2letter now needs flashlight as a dependency. I will try to solve this issue on my own. If you want and we can collaborate together, I am motivated to dockerize the whole repo at least for CPU

@YaseenEltahir
Copy link

Have you solved this issue? Please share the solution

@detrin
Copy link

detrin commented Feb 27, 2023

No I don't have any update on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants