Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-7398

[Packaging][Python] Conda builds are failing on macOS

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.16.0
    • Packaging, Python
    • None

    Description

      Failing build: https://dev.azure.com/ursa-labs/crossbow/_build/results?buildId=3636

      Numpy has an import error:

      CMake Error at cmake_modules/FindNumPy.cmake:62 (message):
        NumPy import failure:
      
        Traceback (most recent call last):
      
          File "/usr/local/miniconda/conda-bld/arrow-cpp_1576319182634/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib/python3.8/site-packages/numpy/core/__init__.py", line 40, in <module>
            from . import multiarray
          File "/usr/local/miniconda/conda-bld/arrow-cpp_1576319182634/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib/python3.8/site-packages/numpy/core/multiarray.py", line 13, in <module>
            from . import overrides
          File "/usr/local/miniconda/conda-bld/arrow-cpp_1576319182634/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib/python3.8/site-packages/numpy/core/overrides.py", line 6, in <module>
            from numpy.core._multiarray_umath import (
      
        ImportError:
        dlopen(/usr/local/miniconda/conda-bld/arrow-cpp_1576319182634/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib/python3.8/site-packages/numpy/core/_multiarray_umath.cpython-38-darwin.so,
        2): Library not loaded: @rpath/libomp.dylib
      
          Referenced from: /usr/local/miniconda/conda-bld/arrow-cpp_1576319182634/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib/libcblas.3.dylib
          Reason: image not found
      

      This is probably relating the conda-forge/openblas-feedstock#90.

      Attachments

        Activity

          People

            wesm Wes McKinney
            kszucs Krisztian Szucs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: