parlance / ctcdecode

PyTorch CTC Decoder bindings
MIT License
829 stars 245 forks source link

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. #178

Closed Syedwajihshah closed 3 years ago

Syedwajihshah commented 3 years ago

cd ctcdecode && pip install . Processing /home/wajih/learning/ctcdecode ERROR: Command errored out with exit status 1: command: /home/wajih/.virtualenvs/ctcdec/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-l63htf6e/setup.py'"'"'; file='"'"'/tmp/pip-req-build-l63htf6e/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-deeuyeyg cwd: /tmp/pip-req-build-l63htf6e/ Complete output (5 lines): Traceback (most recent call last): File "", line 1, in File "/tmp/pip-req-build-l63htf6e/setup.py", line 10, in from torch.utils.cpp_extension import BuildExtension ModuleNotFoundError: No module named 'torch'

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Syedwajihshah commented 3 years ago

Installed pytorch before installing this. Fixed the issue.

jubick1337 commented 3 years ago

This isn't fix it's a workaround This must be fixed by developer because other package managers don't see torch as requirement for ctcdecode