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

Installation failling in Ubuntu 24.04.1 LTS x86_64 #21

Open
Kamuish opened this issue Sep 3, 2024 · 2 comments
Open

Installation failling in Ubuntu 24.04.1 LTS x86_64 #21

Kamuish opened this issue Sep 3, 2024 · 2 comments

Comments

@Kamuish
Copy link
Contributor

Kamuish commented Sep 3, 2024

Hi,

A fresh clone of the repository fails to install with the following output:

Building wheels for collected packages: kima
  Building editable for kima (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Building editable for kima (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      *** scikit-build-core 0.10.5 using CMake 3.28.3 (editable)
      *** Configuring CMake...
      loading initial cache file build/cp312-abi3-linux_x86_64/CMakeInit.txt
      CMake Error at /usr/share/cmake-3.28/Modules/CMakeDetermineCXXCompiler.cmake:48 (message):
        Could not find compiler set in environment variable CXX:
      
        x86_64-linux-gnu-g++.
      
      Call Stack (most recent call first):
        CMakeLists.txt:3 (project)
      
      
      CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
      CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
      -- Configuring incomplete, errors occurred!
      
      *** CMake configuration failed
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building editable for kima
Failed to build kima

My cmake version is 3.28.3, so that shouldn't be the problem. Any clue on what is going on?

Ps: the pypi version works as expected (i.e., pip install kima), it is only the latest github version that has issues

@j-faria
Copy link
Contributor

j-faria commented Oct 4, 2024

I'll try to investigate this asap.

@j-faria
Copy link
Contributor

j-faria commented Oct 4, 2024

What command did you run to install? From the error above it looks like Cmake can't find the compiler.
This ran just now with a fresh clone and doing pip install .

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