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

cannot pip install elkai in windows10 #14

Open
781087595 opened this issue Jul 1, 2023 · 6 comments
Open

cannot pip install elkai in windows10 #14

781087595 opened this issue Jul 1, 2023 · 6 comments

Comments

@781087595
Copy link

No description provided.

@781087595
Copy link
Author

Collecting elkai
Using cached elkai-2.0.1.tar.gz (227 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: elkai
Building wheel for elkai (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for elkai (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
*** scikit-build-core 0.4.7 using CMake 3.26.4 (wheel)
*** Configuring CMake...
2023-07-01 16:03:16,745 - scikit_build_core - WARNING - Can't find a Python library, got libdir=None, ldlibrary=None, multiarch=None, masd=None
loading initial cache file C:\Users\wwq\AppData\Local\Temp\tmpqqx0yjqr\build\CMakeInit.txt
-- Building for: NMake Makefiles
CMake Error at CMakeLists.txt:3 (project):
Running

     'nmake' '-?'
 
    failed with:
 
     绯荤粺鎵句笉鍒版寚瀹氱殑鏂囦欢銆\x82
 
 
  CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
  CMake Error: CMAKE_CXX_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 wheel for elkai
Failed to build elkai
ERROR: Could not build wheels for elkai, which is required to install pyproject.toml-based projects

@fikisipi
Copy link
Owner

fikisipi commented Jul 2, 2023

Hey, are you running Python 3.9? I see there wasn't a win64 3.9 wheel, and uploaded one right now.

@henryiii
Copy link

henryiii commented Aug 30, 2024

FYI, Python 3.12 wheels aren't provided also, or 3.13. See pypa/packaging-problems#801.

@fikisipi
Copy link
Owner

fikisipi commented Sep 28, 2024

@henryiii I'm not up to date with the latest pypa recommendations. Is scikit-build-core the suggestion now? I'd love to provide elkai to all platforms.

Yes, there are missing wheels for 3.12 and 3.13. When I have time, I'll fix them.

@henryiii
Copy link

scikit-build-core is a popular and good choice (though I'm biased ;) ). We don't really make a "official suggestion", though.

@henryiii
Copy link

I think you mostly just need to update cibuildwheel.

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

3 participants