Cell_ACDC: Could not install on macOS 10.14.6

Description:

Tried to install cell acdc on macos 10.14.6. During pip install stage, received this error:

`Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Building wheels for collected packages: opencv-python-headless Building wheel for opencv-python-headless (pyproject.toml) … error error: subprocess-exited-with-error

× Building wheel for opencv-python-headless (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [84 lines of output]

  --------------------------------------------------------------------------------
  -- Trying 'Ninja' generator
  --------------------------------
  ---------------------------
  ----------------------
  -----------------
  ------------
  -------
  --
  CMake Error: CMake was unable to find a build program corresponding to "Ninja".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.Not searching for unused variables given on the command line.
  
  -- Configuring incomplete, errors occurred!
  --
  -------
  ------------
  -----------------
  ----------------------
  ---------------------------
  --------------------------------
  -- Trying 'Ninja' generator - failure
  --------------------------------------------------------------------------------
  
  
  
  --------------------------------------------------------------------------------
  -- Trying 'Unix Makefiles' generator
  --------------------------------
  ---------------------------
  ----------------------
  -----------------
  ------------
  -------
  --
  Not searching for unused variables given on the command line.
  -- The C compiler identification is unknown
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - failed
  -- Check for working C compiler: /usr/bin/cc
  -- Check for working C compiler: /usr/bin/cc - broken
  CMake Error at /private/var/folders/n0/y06cp9mx3s337p18h34s6lxw0000gp/T/pip-build-env-4y3vda9o/overlay/lib/python3.10/site-packages/cmake/data/share/cmake-3.30/Modules/CMakeTestCCompiler.cmake:67 (message):
    The C compiler
  
      "/usr/bin/cc"
  
    is not able to compile a simple test program.
  
    It fails with the following output:
  
      Change Dir: '/private/var/folders/n0/y06cp9mx3s337p18h34s6lxw0000gp/T/pip-install-yhanh8ka/opencv-python-headless_baa1a604e81e4c19a20823886af04044/_cmake_test_compile/build/CMakeFiles/CMakeScratch/TryCompile-tpT8gH'
  
      Run Build Command(s): /private/var/folders/n0/y06cp9mx3s337p18h34s6lxw0000gp/T/pip-build-env-4y3vda9o/overlay/lib/python3.10/site-packages/cmake/data/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_205f2/fast
      xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
  
  
  
  
  
    CMake will not be able to correctly generate this project.
  Call Stack (most recent call first):
    CMakeLists.txt:3 (ENABLE_LANGUAGE)
  
  
  -- Configuring incomplete, errors occurred!
  --
  -------
  ------------
  -----------------
  ----------------------
  ---------------------------
  --------------------------------
  -- Trying 'Unix Makefiles' generator - failure
  --------------------------------------------------------------------------------
  
                  ********************************************************************************
                  scikit-build could not get a working generator for your system. Aborting build.
  
                  Building MacOSX wheels for Python 3.10 requires XCode.
  Get it here:
  
    https://developer.apple.com/xcode/
  
                  ********************************************************************************
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for opencv-python-headless Failed to build opencv-python-headless ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (opencv-python-headless)`

Seems to require xcode, which requires a macos 14 to install.

Way to reproduce:

No response

(Optional) Link to data to reproduce error:

No response

Terminal output:

No response

Log file:

No response

Version information:

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16

Most upvoted comments

2.1 didnt work, but it said tensorflow needs keras 3.0.0, so I tried that, and it seems to work. Thanks!

using the non headless version worked. Thanks!