Skip to content

Failed building wheel for python-casacore on macOS 15.7.2 with Python 3.13.5 #288

@csarosi

Description

@csarosi

Per the title, getting the following error when attempting to pip install:

% pip install python-casacore
Collecting python-casacore
  Using cached python_casacore-3.7.1.tar.gz (288 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy in /opt/anaconda3/lib/python3.13/site-packages (from python-casacore) (2.1.3)
Building wheels for collected packages: python-casacore
  Building wheel for python-casacore (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Building wheel for python-casacore (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [48 lines of output]
      2025-12-09 11:19:02,934 - scikit_build_core - INFO - RUN: /opt/homebrew/bin/cmake -E capabilities
      2025-12-09 11:19:02,941 - scikit_build_core - INFO - CMake version: 4.2.0
      *** scikit-build-core 0.11.6 using CMake 4.2.0 (wheel)
      2025-12-09 11:19:02,941 - scikit_build_core - INFO - Implementation: cpython darwin on arm64
      2025-12-09 11:19:02,946 - scikit_build_core - INFO - Build directory: /private/var/folders/46/v1qb5np544398xlkf94zws4m0000gp/T/tmpj8jc57my/build
      *** Configuring CMake...
      2025-12-09 11:19:02,961 - scikit_build_core - INFO - RUN: /opt/homebrew/bin/ninja --version
      2025-12-09 11:19:02,964 - scikit_build_core - INFO - Ninja version: 1.13.2
      2025-12-09 11:19:02,967 - scikit_build_core - INFO - RUN: /opt/homebrew/bin/cmake -S. -B/var/folders/46/v1qb5np544398xlkf94zws4m0000gp/T/tmpj8jc57my/build -DCMAKE_BUILD_TYPE:STRING=Release -C/var/folders/46/v1qb5np544398xlkf94zws4m0000gp/T/tmpj8jc57my/build/CMakeInit.txt -DCMAKE_INSTALL_PREFIX=/var/folders/46/v1qb5np544398xlkf94zws4m0000gp/T/tmpj8jc57my/wheel/platlib -DCMAKE_MAKE_PROGRAM=/opt/homebrew/bin/ninja -DBUILD_TESTING=ON
      loading initial cache file /var/folders/46/v1qb5np544398xlkf94zws4m0000gp/T/tmpj8jc57my/build/CMakeInit.txt
      -- The C compiler identification is AppleClang 17.0.0.17000404
      -- The CXX compiler identification is AppleClang 17.0.0.17000404
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: /usr/bin/clang - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: /usr/bin/clang++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Found Python: /opt/anaconda3/bin/python3.13 (found version "3.13.5") found components: Interpreter Development.Module
      -- Found WCSLIB: /opt/homebrew/lib/libwcs.dylib (found version "8.4")
      -- Found CFITSIO: /opt/homebrew/lib/libcfitsio.dylib (found version "4.600")
      -- Looking for sgemm_
      -- Looking for sgemm_ - not found
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
      -- Found Threads: TRUE
      -- Looking for dgemm_
      -- Looking for dgemm_ - found
      -- Found BLAS: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Accelerate.framework
      -- Looking for cheev_
      -- Looking for cheev_ - found
      -- Found LAPACK: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Accelerate.framework;-lm;-ldl
      -- Found HDF5: hdf5-shared (found version "1.14.5")
      CMake Error at cmake/FindCasacore.cmake:261 (message):
        Casacore: the following components could not be found:
      
             casa_python3
      Call Stack (most recent call first):
        CMakeLists.txt:11 (find_package)
      
      
      -- 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 python-casacore
Failed to build python-casacore
ERROR: Failed to build installable wheels for some pyproject.toml based projects (python-casacore)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions