bert-extractive-summarizer
bert-extractive-summarizer copied to clipboard
unable to build on Mac m1 - Big Sur
I am unable to install because of some dependencies:
CPU dispatch : Requested : 'max -xop -fma4' Enabled : none Generated : none CCompilerOpt._cache_write[796] : write cache to path -> /private/var/folders/gd/5k47blnx2lsdygrtqcj7l_fr0000gn/T/pip-install-sejmndjk/scipy_1e427efcb75f4c11bd59ff14c8baf00c/build/temp.macosx-10.14.6-arm64-3.8/ccompiler_opt_cache_clib.py error: Command "ar rcs build/temp.macosx-10.14.6-arm64-3.8/libsuperlu_src.a build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/dlaqgs.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/dldperm.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/dmach.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/dmemory.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/dmyblas2.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/dpanel_bmod.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/dpanel_dfs.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/dpivotL.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/dpivotgrowth.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/dpruneL.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/dreadhb.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/dreadrb.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/dreadtriple.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/dsnode_bmod.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/dsnode_dfs.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/dsp_blas2.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/dsp_blas3.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/dutil.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/dzsum1.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/get_perm_c.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/heap_relax_snode.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/icmax1.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/ilu_ccolumn_dfs.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/ilu_ccopy_to_ucol.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/ilu_cdrop_row.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/ilu_cpanel_dfs.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/ilu_cpivotL.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/ilu_csnode_dfs.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/ilu_dcolumn_dfs.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/ilu_dcopy_to_ucol.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/ilu_ddrop_row.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/ilu_dpanel_dfs.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/ilu_dpivotL.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/ilu_dsnode_dfs.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/ilu_heap_relax_snode.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/ilu_relax_snode.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/ilu_scolumn_dfs.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/ilu_scopy_to_ucol.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/ilu_sdrop_row.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/ilu_spanel_dfs.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/ilu_spivotL.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/ilu_ssnode_dfs.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/ilu_zcolumn_dfs.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/ilu_zcopy_to_ucol.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/ilu_zdrop_row.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/ilu_zpanel_dfs.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/ilu_zpivotL.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/ilu_zsnode_dfs.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/input_error.o build/temp.macosx-10.14.6-arm64-3.8/scipy/sparse/linalg/_dsolve/SuperLU/SRC/izmax1.o" failed with exit status 1 [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for scipy
Failed to build scipy
ERROR: Could not build wheels for scipy, which is required to install pyproject.toml-based projects
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output.
I think this can be closed now.
Works seamlessly for me