ERROR: Failed building wheel for ctcdecode

created at 09-07-2021 views: 23

error message

Processing /ctcdecode
Building wheels for collected packages: ctcdecode
  Building wheel for ctcdecode (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /root/anaconda3/envs/masr/bin/python -u -c 'import sys, setuptools, tokenize; 
   ...
  ----------------------------------------
  ERROR: Failed building wheel for ctcdecode
  Running setup.py clean for ctcdecode
Failed to build ctcdecode

solution

sudo apt install build-essential
git clone --recursive https://github.com/parlance/ctcdecode.git
cd ctcdecode && pip install .

created at:09-07-2021
edited at: 09-07-2021: