scikit-build / cmake-python-distributions

This project provides the infrastructure to build CMake Python wheels.
https://cmake-python-distributions.readthedocs.io
Apache License 2.0
112 stars 34 forks source link

can not install any library with a trouble with cmake #446

Open canietoa opened 7 months ago

canietoa commented 7 months ago

Hi I'm trying to install packages in windows using anaconda Prompt. I updated pip having this when I try to upgrade:

Requirement already satisfied: pip in c:\users\cesar_nieto.local\lib\python3.9\site-packages (23.3.2)

but at trying to install any package and I get this error:

=============================DEBUG ASSISTANCE=============================

  Problem with the CMake installation, aborting build. CMake executable is cmake
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for cmake Failed to build cmake ERROR: Could not build wheels for cmake, which is required to install pyproject.toml-based projects

     Python: 3.9.12
      platform: Windows-10-10.0.22621-SP0
      machine: AMD64
      bits: 64
      pip: n/a
      setuptools: 69.0.3
      scikit-build: 0.17.6
      PEP517_BUILD_BACKEND=setuptools.build_meta
henryiii commented 7 months ago

If you are using anaconda, why are you not using the conda build of cmake?

The actual error is probably above or below the part you pasted.