terencehonles commented on pull request #8386: URL: https://github.com/apache/arrow/pull/8386#issuecomment-714191764
> Could you try the command lines that are executed in CMake on the environment? > > * https://gitlab.kitware.com/cmake/cmake/-/blob/v3.17.0/Modules/FindPython/Support.cmake#L2333 > * https://gitlab.kitware.com/cmake/cmake/-/blob/v3.17.0/Modules/FindPython/Support.cmake#L2357 It looks like the issue is likely this https://github.com/numpy/numpy/issues/15947 when using Python directly as suggested: ``` Building wheels for collected packages: numpy Building wheel for numpy (PEP 517): started Building wheel for numpy (PEP 517): still running... Building wheel for numpy (PEP 517): still running... Building wheel for numpy (PEP 517): finished with status 'done' Created wheel for numpy: filename=numpy-1.19.2-cp39-cp39-macosx_10_13_x86_64.whl size=4626041 sha256=be42ba9492a0f018618368d2193572162468dd640733db26582bae57715247d5 Stored in directory: /Users/travis/Library/Caches/pip/wheels/a3/17/dd/f2dba23a35bb6008732772ccfb13d3d0e537fbc6919ce6862b Successfully built numpy Installing collected packages: cython, numpy Successfully installed cython-0.29.21 numpy-1.19.2 ++python -c 'import numpy; print(numpy.get_include())' init_dgelsd failed init Traceback (most recent call last): File "<string>", line 1, in <module> File "/Users/travis/build/ursa-labs/crossbow/venv/lib/python3.9/site-packages/numpy/__init__.py", line 286, in <module> raise RuntimeError(msg) RuntimeError: Polyfit sanity test emitted a warning, most likely due to using a buggy Accelerate backend. If you compiled yourself, see site.cfg.example for information. Otherwise report this to the vendor that provided NumPy. RankWarning: Polyfit may be poorly conditioned ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
