question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

gradlew :metadata-ingestion:installDev subprocess-exited-with-error

See original GitHub issue

Installing collected packages: numpy Running setup.py install for numpy: finished with status ‘error’ error: subprocess-exited-with-error

× Running setup.py install for numpy did not run successfully. │ exit code: 1 ╰─> [1327 lines of output] Running from numpy source directory.

  Note: if you need reliable uninstall behavior, then install
  with pip instead of using `setup.py install`:
  
    - `pip install .`       (from a git repo or downloaded source
                             release)
    - `pip install numpy`   (last NumPy release on PyPi)

clang: error: no such file or directory: ‘build/temp.macosx-10.14-arm64-3.8/numpy/core/src/multiarray/dragon4.o’ error

numpy/core/src/multiarray/dragon4.c:3141:1: error: implicit declaration of function ‘Dragon4_PrintFloat_Intel_extended128’ is invalid in C99 [-Werror,-Wimplicit-function-declaration]

  ^
  /private/var/folders/3k/pjpmrxl91gsfwl734jv4lf4w0000gp/T/pip-install-f8mmyw5c/numpy_efa59bb6a8334616987bbb43e729d281/numpy/distutils/checks/cpu_neon_vfpv4.c:10:5: error: use of undeclared identifier 'float32x4_t'
      float32x4_t v3 = vdupq_n_f32(3.0f);
      ^
  /private/var/folders/3k/pjpmrxl91gsfwl734jv4lf4w0000gp/T/pip-install-f8mmyw5c/numpy_efa59bb6a8334616987bbb43e729d281/numpy/distutils/checks/cpu_neon_vfpv4.c:11:20: error: implicit declaration of function 'vgetq_lane_f32' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
      int ret = (int)vgetq_lane_f32(vfmaq_f32(v1, v2, v3), 0);
                     ^
  /private/var/folders/3k/pjpmrxl91gsfwl734jv4lf4w0000gp/T/pip-install-f8mmyw5c/numpy_efa59bb6a8334616987bbb43e729d281/numpy/distutils/checks/cpu_neon_vfpv4.c:11:35: error: implicit declaration of function 'vfmaq_f32' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
      int ret = (int)vgetq_lane_f32(vfmaq_f32(v1, v2, v3), 0);
                                    ^
  /private/var/folders/3k/pjpmrxl91gsfwl734jv4lf4w0000gp/T/pip-install-f8mmyw5c/numpy_efa59bb6a8334616987bbb43e729d281/numpy/distutils/checks/cpu_neon_vfpv4.c:11:45: error: use of undeclared identifier 'v1'
      int ret = (int)vgetq_lane_f32(vfmaq_f32(v1, v2, v3), 0);
                                              ^

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:12

github_iconTop GitHub Comments

1reaction
iosMentalcommented, Apr 23, 2022

× Running setup.py install for numpy did not run successfully. │ exit code: 1 ╰─> [1352 lines of output] Running from numpy source directory.

i try to modify datahub_preflight.sh and run success,

#pip3 install --no-binary :all: --no-use-pep517 numpy
pip3 install numpy --no-use-pep517
pip3 install pythran
#pip3 install --no-binary :all: --no-use-pep517 scipy
pip3 install scipy --no-use-pep517
0reactions
iosMentalcommented, Apr 22, 2022

The final one will be in datahub folder. I missed that

i finally execute ./gradlew :metadata-ingestion:installDev in datahub folder Still prompt error

-lopenblas -lopenblas -o build/lib.macosx-10.14-arm64-3.8/numpy/core/_multiarray_umath.cpython-38-darwin.so" failed with exit status 1 INFO: ########### EXT COMPILER OPTIMIZATION ########### INFO: Platform : Architecture: aarch64 Compiler : clang

  CPU baseline  :
    Requested   : 'min'
    Enabled     : none
    Flags       : none
    Extra checks: none
  
  CPU dispatch  :
    Requested   : 'max -xop -fma4'
    Enabled     : none
    Generated   : none
  INFO: CCompilerOpt.cache_flush[817] : write cache to path -> /private/var/folders/3k/pjpmrxl91gsfwl734jv4lf4w0000gp/T/pip-install-pe7i81xb/numpy_732bfe74a3ee4e68b8c8e12bd450ca3b/build/temp.macosx-10.14-arm64-3.8/ccompiler_opt_cache_ext.py
  INFO:
  ########### CLIB COMPILER OPTIMIZATION ###########
  INFO: Platform      :
    Architecture: aarch64
    Compiler    : clang
  
  CPU baseline  :
    Requested   : 'min'
    Enabled     : none
    Flags       : none
    Extra checks: none
  
  CPU dispatch  :
    Requested   : 'max -xop -fma4'
    Enabled     : none
    Generated   : none
  INFO: CCompilerOpt.cache_flush[817] : write cache to path -> /private/var/folders/3k/pjpmrxl91gsfwl734jv4lf4w0000gp/T/pip-install-pe7i81xb/numpy_732bfe74a3ee4e68b8c8e12bd450ca3b/build/temp.macosx-10.14-arm64-3.8/ccompiler_opt_cache_clib.py
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure

× Encountered error while trying to install package. ╰─> numpy

note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.

Task :metadata-ingestion:runPreFlightScript FAILED

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ‘:metadata-ingestion:runPreFlightScript’.

Process ‘command ‘scripts/datahub_preflight.sh’’ finished with non-zero exit value 1

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
  • Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use ‘–warning-mode all’ to show the individual deprecation warnings. See https://docs.gradle.org/6.9.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1m 0s 23 actionable tasks: 8 executed, 15 up-to-date

and my jdk is zulu-8.jdk

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found