cmake-python-distributions icon indicating copy to clipboard operation
cmake-python-distributions copied to clipboard

can not install any library with a trouble with cmake

Open canietoa opened this issue 1 year ago • 1 comments

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

canietoa avatar Feb 02 '24 00:02 canietoa

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.

henryiii avatar Feb 14 '24 15:02 henryiii