hulianyuyy / CorrNet

Continuous Sign Language Recognition with Correlation Network (CVPR 2023)
84 stars 14 forks source link

ctcdecode not installing #23

Closed nausherwan-malik closed 7 months ago

nausherwan-malik commented 7 months ago

i am trying to install ctcdecode from the attached link, but am facing issues.

pip install . Processing /home/ubuntu/Documents/CorrNet/virtualenv/ctcdecode Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [24 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "/home/ubuntu/Documents/CorrNet/virtualenv/ctcdecode/setup.py", line 30, in download_extract( File "/home/ubuntu/Documents/CorrNet/virtualenv/ctcdecode/setup.py", line 21, in download_extract tar.extractall("third_party/") File "/home/ubuntu/anaconda3/envs/corrnet/lib/python3.9/tarfile.py", line 2250, in extractall self._extract_one(tarinfo, path, set_attrs=not tarinfo.isdir(), File "/home/ubuntu/anaconda3/envs/corrnet/lib/python3.9/tarfile.py", line 2313, in _extract_one self._extract_member(tarinfo, os.path.join(path, tarinfo.name), File "/home/ubuntu/anaconda3/envs/corrnet/lib/python3.9/tarfile.py", line 2396, in _extract_member self.makefile(tarinfo, targetpath) File "/home/ubuntu/anaconda3/envs/corrnet/lib/python3.9/tarfile.py", line 2449, in makefile copyfileobj(source, target, tarinfo.size, ReadError, bufsize) File "/home/ubuntu/anaconda3/envs/corrnet/lib/python3.9/tarfile.py", line 251, in copyfileobj buf = src.read(bufsize) File "/home/ubuntu/anaconda3/envs/corrnet/lib/python3.9/gzip.py", line 300, in read return self._buffer.read(size) File "/home/ubuntu/anaconda3/envs/corrnet/lib/python3.9/_compression.py", line 68, in readinto data = self.read(len(byte_view)) File "/home/ubuntu/anaconda3/envs/corrnet/lib/python3.9/gzip.py", line 506, in read raise EOFError("Compressed file ended before the " EOFError: Compressed file ended before the end-of-stream marker was reached [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. 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.

I am using python 3.9 for my code.

hulianyuyy commented 7 months ago

Sorry, but i don't figure exactly how to fix it. It's an issue about ctcdecode. I have successfully installed ctcdecode with python 3.9. May i ask if you exactly follow the instructions of [ctcdecode(https://github.com/parlance/ctcdecode) to install, by conducting git clone --recursive https://github.com/parlance/ctcdecode.git and cd ctcdecode && pip install . ?

nausherwan-malik commented 7 months ago

Yes. I followed the instructions exactly. still getting an error.

nausherwan-malik commented 7 months ago

Thanks. there was a problem with a python package. all figured now