GuinsooLab/sheenflow

Trouble installing in `install_dev_python_modules` in Python 3.8

ciusji opened this issue · 1 comments

Machine: MacOS M1 chip
Python Version: 3.8.6

details:

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [39 lines of output]
      The Meson build system
      Version: 1.0.0
      Source dir: /private/var/folders/kk/6kwfyrcd4sdfvjrclnj85tr00000gn/T/pip-install-8xix6len/scipy_ec060e2820a74edead202dce9313c9a4
      Build dir: /private/var/folders/kk/6kwfyrcd4sdfvjrclnj85tr00000gn/T/pip-install-8xix6len/scipy_ec060e2820a74edead202dce9313c9a4/.mesonpy-9p3r0ce5/build
      Build type: native build
      Project name: SciPy
      Project version: 1.9.3
      C compiler for the host machine: cc (clang 13.0.0 "Apple clang version 13.0.0 (clang-1300.0.29.3)")
      C linker for the host machine: cc ld64 711
      C++ compiler for the host machine: c++ (clang 13.0.0 "Apple clang version 13.0.0 (clang-1300.0.29.3)")
      C++ linker for the host machine: c++ ld64 711
      Host machine cpu family: aarch64
      Host machine cpu: aarch64
      Compiler for C supports arguments -Wno-unused-but-set-variable: NO
      Compiler for C supports arguments -Wno-unused-but-set-variable: NO (cached)
      Compiler for C supports arguments -Wno-unused-function: YES
      Compiler for C supports arguments -Wno-conversion: YES
      Compiler for C supports arguments -Wno-misleading-indentation: YES
      Compiler for C supports arguments -Wno-incompatible-pointer-types: YES
      Library m found: YES
      Fortran compiler for the host machine: gfortran (gcc 12.2.0 "GNU Fortran (Homebrew GCC 12.2.0) 12.2.0")
      Fortran linker for the host machine: gfortran ld64 711
      Compiler for Fortran supports arguments -Wno-conversion: YES
      Program cython found: YES (/private/var/folders/kk/6kwfyrcd4sdfvjrclnj85tr00000gn/T/pip-build-env-jiehgdhe/overlay/bin/cython)
      Program pythran found: YES (/private/var/folders/kk/6kwfyrcd4sdfvjrclnj85tr00000gn/T/pip-build-env-jiehgdhe/overlay/bin/pythran)
      Program cp found: YES (/bin/cp)
      Program python found: YES (/Users/admin/Git/Public/sheenflow/venv/bin/python3)
      Found pkg-config: /opt/homebrew/bin/pkg-config (0.29.2)
      Run-time dependency threads found: YES
      Library npymath found: YES
      Library npyrandom found: YES
      Found CMake: /opt/homebrew/bin/cmake (3.21.3)
      Run-time dependency openblas found: NO (tried pkgconfig, framework and cmake)
      Run-time dependency openblas found: NO (tried pkgconfig, framework and cmake)
      
      ../../scipy/meson.build:131:0: ERROR: Dependency "OpenBLAS" not found, tried pkgconfig, framework and cmake
      
      A full log can be found at /private/var/folders/kk/6kwfyrcd4sdfvjrclnj85tr00000gn/T/pip-install-8xix6len/scipy_ec060e2820a74edead202dce9313c9a4/.mesonpy-9p3r0ce5/build/meson-logs/meson-log.txt
      + meson setup --prefix=/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8 /private/var/folders/kk/6kwfyrcd4sdfvjrclnj85tr00000gn/T/pip-install-8xix6len/scipy_ec060e2820a74edead202dce9313c9a4 /private/var/folders/kk/6kwfyrcd4sdfvjrclnj85tr00000gn/T/pip-install-8xix6len/scipy_ec060e2820a74edead202dce9313c9a4/.mesonpy-9p3r0ce5/build --native-file=/private/var/folders/kk/6kwfyrcd4sdfvjrclnj85tr00000gn/T/pip-install-8xix6len/scipy_ec060e2820a74edead202dce9313c9a4/.mesonpy-native-file.ini -Ddebug=false -Doptimization=2
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

It seems to be a problem in scipy model.
Refer to scipy/scipy#13409.