synesthesiam / voice2json

Command-line tools for speech and intent recognition on Linux
MIT License
1.08k stars 63 forks source link

using Centos 8 and tired to setup voice2json. pls help #77

Open helpinghandindia1 opened 1 year ago

helpinghandindia1 commented 1 year ago

using Centos 8 and tired to setup voice2json. pls help configure: error: ATLAS is required for Kaldi (libatlas-base-dev package)

helpinghandindia1 commented 1 year ago

error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [1 lines of output] ERROR: Can not execute setup.py since setuptools is not available in the build environment. [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.

helpinghandindia1 commented 1 year ago

hello @synesthesiam @johanneskropf I am still not able to install , I also tried to install kaldi but error in last step.

kindly help to resolve error to proceed further. thanks

synesthesiam commented 1 year ago

HI @helpinghandindia1, I have removed the check for ATLAS in ./configure. Here is a quick fix that will hopefully get you going:

  1. Pull the latest version of voice2json
  2. Run ./configure as normal
  3. Download the OpenBLAS version of Kaldi: wget -O download/kaldi-2021_amd64.tar.gz 'https://github.com/synesthesiam/prebuilt-apps/releases/download/v1.0/kaldi-2021_amd64-openblas.tar.gz'
  4. Run make and then make install
helpinghandindia1 commented 1 year ago

Thank you for your support.

I will see today. thanks

On Sun, Aug 28, 2022 at 10:37 PM Michael Hansen @.***> wrote:

HI @helpinghandindia1 https://github.com/helpinghandindia1, I have removed the check for ATLAS in ./configure. Here is a quick fix that will hopefully get you going:

  1. Pull the latest version of voice2json
  2. Run ./configure as normal
  3. Download the OpenBLAS version of Kaldi: wget -O download/kaldi-2021_amd64.tar.gz ' https://github.com/synesthesiam/prebuilt-apps/releases/download/v1.0/kaldi-2021_amd64-openblas.tar.gz '
  4. Run make and then make install

— Reply to this email directly, view it on GitHub https://github.com/synesthesiam/voice2json/issues/77#issuecomment-1229509635, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASIJB5Y5PPPIHXB3SHEDXKLV3OMG5ANCNFSM564EL5UA . You are receiving this because you were mentioned.Message ID: @.***>

-- Helping Hand India Ngo Alone we can do so little, Together we can do so much. { Let's work together for humanity. }

helpinghandindia1 commented 1 year ago

hi @synesthesiam

After command make install , following error, pls see

"/root/test/2/voice2json/.venv/bin/python" -m pip install "/root/test/2/voice2json/download/pocketsphinx-python.tar.gz" Processing ./download/pocketsphinx-python.tar.gz Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [1 lines of output] ERROR: Can not execute setup.py since setuptools is not available in the build environment. [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. make: *** [Makefile:245: install-pocketsphinx] Error 1