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

Building wheel for pocketsphinx5 (pyproject.toml) did not run successfully. #281

Open
alekione opened this issue Aug 19, 2022 · 2 comments

Comments

@alekione
Copy link

I was tring to install it as you've suggested in README.md file but i got this error. Can you please help me out...
I was running the command pip install .

Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: pocketsphinx5
  Building wheel for pocketsphinx5 (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Building wheel for pocketsphinx5 (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [9 lines of output]
        File "/tmp/pip-build-env-sw9cx83b/overlay/local/lib/python3.10/dist-packages/skbuild/setuptools_wrap.py", line 613, in setup
          cmkr = cmaker.CMaker(cmake_executable)
        File "/tmp/pip-build-env-sw9cx83b/overlay/local/lib/python3.10/dist-packages/skbuild/cmaker.py", line 141, in __init__
          self.cmake_version = get_cmake_version(self.cmake_executable)
        File "/tmp/pip-build-env-sw9cx83b/overlay/local/lib/python3.10/dist-packages/skbuild/cmaker.py", line 95, in get_cmake_version
          raise SKBuildError(
      Traceback (most recent call last):
      
      Problem with the CMake installation, aborting build. CMake executable is cmake
      [end of output]
@alekione
Copy link
Author

I,m using kali-linux 5.18.0-kali5-amd64

@dhdaines
Copy link
Contributor

Hi, is that really all the output that it gives you?

I don't really know what kali-linux is, but it seems that it is not possible to use scikit-build on it, in which case this is either a bug in kali-linux or in scikit-build.

Please try to install scikit-build and build one of the sample projects, and if that works, then perhaps there is a problem with PocketSphinx.

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

No branches or pull requests

2 participants