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

error: error: subprocess-exited-with-error #83

Open
hancelChiu opened this issue Jul 27, 2024 · 1 comment
Open

error: error: subprocess-exited-with-error #83

hancelChiu opened this issue Jul 27, 2024 · 1 comment

Comments

@hancelChiu
Copy link

hancelChiu commented Jul 27, 2024

windows11
Execute pip install pyopenjtalk in conda

`` error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [42 lines of output]
-- Building for: NMake Makefiles
CMake Deprecation Warning at CMakeLists.txt:5 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.

    Update the VERSION argument <min> value or use a ...<max> suffix to tell
    CMake that the project does not need compatibility with older versions.


  CMake Error at CMakeLists.txt:17 (project):
    Running

     'nmake' '-?'

    failed with:

     no such file or directory


  CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
  CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
  -- Configuring incomplete, errors occurred!
  CMake is in the system path. Version:               cmake version 3.30.1

  CMake suite maintained and supported by Kitware (kitware.com/cmake).
  Traceback (most recent call last):
    File "D:\ProgramData\miniconda3\envs\linly\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
      main()
    File "D:\ProgramData\miniconda3\envs\linly\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "D:\ProgramData\miniconda3\envs\linly\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
      return hook(config_settings)
    File "C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-build-env-v28pc2h6\overlay\Lib\site-packages\setuptools\build_meta.py", line 327, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=[])
    File "C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-build-env-v28pc2h6\overlay\Lib\site-packages\setuptools\build_meta.py", line 297, in _get_build_requires
      self.run_setup()
    File "C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-build-env-v28pc2h6\overlay\Lib\site-packages\setuptools\build_meta.py", line 313, in run_setup
      exec(code, locals())
    File "<string>", line 97, in <module>
    File "D:\ProgramData\miniconda3\envs\linly\lib\subprocess.py", line 457, in check_returncode
      raise CalledProcessError(self.returncode, self.args, self.stdout,
  subprocess.CalledProcessError: Command '['cmake', '..', '-DHTS_ENGINE_INCLUDE_DIR=.', '-DHTS_ENGINE_LIB=dummy']' returned non-zero exit status 1.
@sabonerune
Copy link
Contributor

> CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
> CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage

Have you installed Microsoft Visual C++ Compiler ?

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

No branches or pull requests

2 participants