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

Install issue on candide #17

Open
AndreasTersenov opened this issue Oct 25, 2023 · 0 comments
Open

Install issue on candide #17

AndreasTersenov opened this issue Oct 25, 2023 · 0 comments

Comments

@AndreasTersenov
Copy link
Collaborator

Sparse2D was installed correctly, but when I'm trying to install cosmostat I'm getting the following errors:
` [ 89%] Built target mrs_inpainting
make[3]: *** [all] Error 2
gmake[2]: *** [sparse2d/src/sparse2d-stamp/sparse2d-build] Error 2
gmake[1]: *** [CMakeFiles/sparse2d.dir/all] Error 2
gmake: *** [all] Error 2
Traceback (most recent call last):
File "/softs/intel/intelpython3-2023.0.0.25636/intelpython/python3.9/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 156, in prepare_metadata_for_build_wheel
hook = backend.prepare_metadata_for_build_wheel
AttributeError: module 'py_build_cmake.build' has no attribute 'prepare_metadata_for_build_wheel'

  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "/softs/intel/intelpython3-2023.0.0.25636/intelpython/python3.9/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
      main()
    File "/softs/intel/intelpython3-2023.0.0.25636/intelpython/python3.9/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/softs/intel/intelpython3-2023.0.0.25636/intelpython/python3.9/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 160, in prepare_metadata_for_build_wheel
      whl_basename = backend.build_wheel(metadata_directory, config_settings)
    File "/tmp/pip-build-env-b2_n5lg0/overlay/lib/python3.9/site-packages/py_build_cmake/build.py", line 67, in build_wheel
      whl_name = self.build_wheel_in_dir(wheel_directory, tmp_build_dir,
    File "/tmp/pip-build-env-b2_n5lg0/overlay/lib/python3.9/site-packages/py_build_cmake/build.py", line 248, in build_wheel_in_dir
      self.do_native_cross_cmake_build(paths, cfg, pkg_info)
    File "/tmp/pip-build-env-b2_n5lg0/overlay/lib/python3.9/site-packages/py_build_cmake/build.py", line 333, in do_native_cross_cmake_build
      self.run_cmake(paths.source_dir, paths.staging_dir, cmake_cfg,
    File "/tmp/pip-build-env-b2_n5lg0/overlay/lib/python3.9/site-packages/py_build_cmake/build.py", line 511, in run_cmake
      cmaker.build()
    File "/tmp/pip-build-env-b2_n5lg0/overlay/lib/python3.9/site-packages/py_build_cmake/cmake.py", line 190, in build
      self.run(cmd, cwd=cwd, check=True, env=env)
    File "/tmp/pip-build-env-b2_n5lg0/overlay/lib/python3.9/site-packages/py_build_cmake/cmake.py", line 68, in run
      return self.runner.run(*args, **kwargs)
    File "/tmp/pip-build-env-b2_n5lg0/overlay/lib/python3.9/site-packages/py_build_cmake/cmd_runner.py", line 25, in run
      return sp_run(*args, **kwargs)
    File "/softs/intel/intelpython3-2023.0.0.25636/intelpython/python3.9/lib/python3.9/subprocess.py", line 528, in run
      raise CalledProcessError(retcode, process.args,
  subprocess.CalledProcessError: Command '['cmake', '--build', '/home/tersenov/software/cosmostat/.py-build-cmake_cache/cp39-cp39-linux_x86_64', '-j 8']' returned non-zero exit status 2.
  [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.`

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

1 participant