0

I'm trying to install the azureml-automl-core package on my macOS laptop with the following command:

pip install azureml-automl-core 

and I get an error which says that it encountered error while trying to install the numpy package. But I already have numpy (1.23.3) installed. I use python 3.10.5. Can anyone help me with solving this error?

Here is the full output from running the command above:

Collecting azureml-automl-core
  Using cached azureml_automl_core-1.18.0.post2-py3-none-any.whl (186 kB)
Collecting azureml-dataset-runtime~=1.18.0
  Using cached azureml_dataset_runtime-1.18.0-py3-none-any.whl (3.4 kB)
Collecting azureml-telemetry~=1.18.0
  Using cached azureml_telemetry-1.18.0.post1-py3-none-any.whl (30 kB)
Collecting azureml-dataprep<2.5.0a,>=2.4.0a
  Using cached azureml_dataprep-2.4.5-py3-none-any.whl (28.2 MB)
Collecting pyarrow<2.0.0,>=0.17.0
  Using cached pyarrow-1.0.1.tar.gz (1.3 MB)
  Installing build dependencies ... error
  error: subprocess-exited-with-error
  
  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [311 lines of output]
      Ignoring numpy: markers 'python_version < "3.7"' don't match your environment
      Collecting cython>=0.29
        Using cached Cython-0.29.32-py2.py3-none-any.whl (986 kB)
      Collecting numpy==1.16.0
        Using cached numpy-1.16.0.zip (5.1 MB)
        Preparing metadata (setup.py): started
        Preparing metadata (setup.py): finished with status 'done'
      Collecting setuptools
        Using cached setuptools-65.4.0-py3-none-any.whl (1.2 MB)
      Collecting setuptools_scm
        Using cached setuptools_scm-7.0.5-py3-none-any.whl (42 kB)
      Collecting wheel
        Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
      Collecting packaging>=20.0
        Using cached packaging-21.3-py3-none-any.whl (40 kB)
      Collecting typing-extensions
        Using cached typing_extensions-4.3.0-py3-none-any.whl (25 kB)
      Collecting tomli>=1.0.0
        Using cached tomli-2.0.1-py3-none-any.whl (12 kB)
      Collecting pyparsing!=3.0.5,>=2.0.2
        Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB)
      Building wheels for collected packages: numpy
        Building wheel for numpy (setup.py): started
        Building wheel for numpy (setup.py): finished with status 'error'
        error: subprocess-exited-with-error
      
        × python setup.py bdist_wheel did not run successfully.
        │ exit code: 1
        ╰─> [116 lines of output]
            Running from numpy source directory.
            /private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/misc_util.py:476: SyntaxWarning: "is" with a literal. Did you mean "=="?
              return is_string(s) and ('*' in s or '?' is s)
            blas_opt_info:
            blas_mkl_info:
            customize UnixCCompiler
              libraries mkl_rt not found in ['/Users/jonashanetho/miniforge3/lib', '/usr/lib']
              NOT AVAILABLE
      
            blis_info:
            customize UnixCCompiler
              libraries blis not found in ['/Users/jonashanetho/miniforge3/lib', '/usr/lib']
              NOT AVAILABLE
      
            openblas_info:
            customize UnixCCompiler
            customize UnixCCompiler
            customize UnixCCompiler
              FOUND:
                libraries = ['openblas', 'openblas']
                library_dirs = ['/Users/jonashanetho/miniforge3/lib']
                language = c
                define_macros = [('HAVE_CBLAS', None)]
      
              FOUND:
                libraries = ['openblas', 'openblas']
                library_dirs = ['/Users/jonashanetho/miniforge3/lib']
                language = c
                define_macros = [('HAVE_CBLAS', None)]
      
            /bin/sh: svnversion: command not found
            non-existing path in 'numpy/distutils': 'site.cfg'
            lapack_opt_info:
            lapack_mkl_info:
            customize UnixCCompiler
              libraries mkl_rt not found in ['/Users/jonashanetho/miniforge3/lib', '/usr/lib']
              NOT AVAILABLE
      
            openblas_lapack_info:
            customize UnixCCompiler
            customize UnixCCompiler
            customize UnixCCompiler
            C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/jonashanetho/miniforge3/include -arch arm64 -fPIC -O2 -isystem /Users/jonashanetho/miniforge3/include -arch arm64
      
            creating /var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmph373kjxk/var
            creating /var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmph373kjxk/var/folders
            creating /var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmph373kjxk/var/folders/rb
            creating /var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmph373kjxk/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn
            creating /var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmph373kjxk/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T
            creating /var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmph373kjxk/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmph373kjxk
            compile options: '-c'
            clang: /var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmph373kjxk/source.c
            xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
            Traceback (most recent call last):
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/unixccompiler.py", line 57, in UnixCCompiler__compile
                self.spawn(self.compiler_so + cc_args + [src, '-o', obj] + deps +
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/ccompiler.py", line 92, in <lambda>
                m = lambda self, *args, **kw: func(self, *args, **kw)
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/ccompiler.py", line 171, in CCompiler_spawn
                raise DistutilsExecError('Command "%s" failed with exit status %d%s' %
            distutils.errors.DistutilsExecError: Command "clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/jonashanetho/miniforge3/include -arch arm64 -fPIC -O2 -isystem /Users/jonashanetho/miniforge3/include -arch arm64 -c /var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmph373kjxk/source.c -o /var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmph373kjxk/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmph373kjxk/source.o -MMD -MF /var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmph373kjxk/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmph373kjxk/source.o.d" failed with exit status 1
      
            During handling of the above exception, another exception occurred:
      
            Traceback (most recent call last):
              File "<string>", line 2, in <module>
              File "<pip-setuptools-caller>", line 34, in <module>
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/setup.py", line 415, in <module>
                setup_package()
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/setup.py", line 407, in setup_package
                setup(**metadata)
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/core.py", line 137, in setup
                config = configuration()
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/setup.py", line 164, in configuration
                config.add_subpackage('numpy')
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/misc_util.py", line 1034, in add_subpackage
                config_list = self.get_subpackage(subpackage_name, subpackage_path,
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/misc_util.py", line 1000, in get_subpackage
                config = self._get_configuration_from_setup_py(
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/misc_util.py", line 942, in _get_configuration_from_setup_py
                config = setup_module.configuration(*args)
              File "numpy/setup.py", line 16, in configuration
                config.add_subpackage('linalg')
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/misc_util.py", line 1034, in add_subpackage
                config_list = self.get_subpackage(subpackage_name, subpackage_path,
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/misc_util.py", line 1000, in get_subpackage
                config = self._get_configuration_from_setup_py(
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/misc_util.py", line 942, in _get_configuration_from_setup_py
                config = setup_module.configuration(*args)
              File "numpy/linalg/setup.py", line 29, in configuration
                lapack_info = get_info('lapack_opt', 0)  # and {}
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/system_info.py", line 433, in get_info
                return cl().get_info(notfound_action)
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/system_info.py", line 625, in get_info
                self.calc_info()
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/system_info.py", line 1538, in calc_info
                openblas_info = get_info('openblas_lapack')
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/system_info.py", line 433, in get_info
                return cl().get_info(notfound_action)
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/system_info.py", line 625, in get_info
                self.calc_info()
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/system_info.py", line 1777, in calc_info
                if not (assume_lapack or self.check_embedded_lapack(info)):
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/system_info.py", line 1843, in check_embedded_lapack
                obj = c.compile([src], output_dir=tmpdir)
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/ccompiler.py", line 92, in <lambda>
                m = lambda self, *args, **kw: func(self, *args, **kw)
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/ccompiler.py", line 363, in CCompiler_compile
                single_compile(o)
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/ccompiler.py", line 323, in single_compile
                self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/ccompiler.py", line 92, in <lambda>
                m = lambda self, *args, **kw: func(self, *args, **kw)
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/unixccompiler.py", line 61, in UnixCCompiler__compile
                raise CompileError(msg)
            distutils.errors.CompileError: Command "clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/jonashanetho/miniforge3/include -arch arm64 -fPIC -O2 -isystem /Users/jonashanetho/miniforge3/include -arch arm64 -c /var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmph373kjxk/source.c -o /var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmph373kjxk/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmph373kjxk/source.o -MMD -MF /var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmph373kjxk/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmph373kjxk/source.o.d" 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 numpy
        Running setup.py clean for numpy
        error: subprocess-exited-with-error
      
        × python setup.py clean did not run successfully.
        │ exit code: 1
        ╰─> [10 lines of output]
            Running from numpy source directory.
      
            `setup.py clean` is not supported, use one of the following instead:
      
              - `git clean -xdf` (cleans all files)
              - `git clean -Xdf` (cleans all versioned files, doesn't touch
                                  files that aren't checked into the git repo)
      
            Add `--force` to your command to use it anyway if you must (unsupported).
      
            [end of output]
      
        note: This error originates from a subprocess, and is likely not a problem with pip.
        ERROR: Failed cleaning build dir for numpy
      Failed to build numpy
      Installing collected packages: wheel, typing-extensions, tomli, setuptools, pyparsing, numpy, cython, packaging, setuptools_scm
        Running setup.py install for numpy: started
        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
        ╰─> [123 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)
      
      
            blas_opt_info:
            blas_mkl_info:
            customize UnixCCompiler
              libraries mkl_rt not found in ['/Users/jonashanetho/miniforge3/lib', '/usr/lib']
              NOT AVAILABLE
      
            blis_info:
            customize UnixCCompiler
              libraries blis not found in ['/Users/jonashanetho/miniforge3/lib', '/usr/lib']
              NOT AVAILABLE
      
            openblas_info:
            customize UnixCCompiler
            customize UnixCCompiler
            customize UnixCCompiler
              FOUND:
                libraries = ['openblas', 'openblas']
                library_dirs = ['/Users/jonashanetho/miniforge3/lib']
                language = c
                define_macros = [('HAVE_CBLAS', None)]
      
              FOUND:
                libraries = ['openblas', 'openblas']
                library_dirs = ['/Users/jonashanetho/miniforge3/lib']
                language = c
                define_macros = [('HAVE_CBLAS', None)]
      
            /bin/sh: svnversion: command not found
            non-existing path in 'numpy/distutils': 'site.cfg'
            lapack_opt_info:
            lapack_mkl_info:
            customize UnixCCompiler
              libraries mkl_rt not found in ['/Users/jonashanetho/miniforge3/lib', '/usr/lib']
              NOT AVAILABLE
      
            openblas_lapack_info:
            customize UnixCCompiler
            customize UnixCCompiler
            customize UnixCCompiler
            C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/jonashanetho/miniforge3/include -arch arm64 -fPIC -O2 -isystem /Users/jonashanetho/miniforge3/include -arch arm64
      
            creating /var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmpbe8s1u05/var
            creating /var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmpbe8s1u05/var/folders
            creating /var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmpbe8s1u05/var/folders/rb
            creating /var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmpbe8s1u05/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn
            creating /var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmpbe8s1u05/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T
            creating /var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmpbe8s1u05/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmpbe8s1u05
            compile options: '-c'
            clang: /var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmpbe8s1u05/source.c
            xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
            Traceback (most recent call last):
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/unixccompiler.py", line 57, in UnixCCompiler__compile
                self.spawn(self.compiler_so + cc_args + [src, '-o', obj] + deps +
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/ccompiler.py", line 92, in <lambda>
                m = lambda self, *args, **kw: func(self, *args, **kw)
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/ccompiler.py", line 171, in CCompiler_spawn
                raise DistutilsExecError('Command "%s" failed with exit status %d%s' %
            distutils.errors.DistutilsExecError: Command "clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/jonashanetho/miniforge3/include -arch arm64 -fPIC -O2 -isystem /Users/jonashanetho/miniforge3/include -arch arm64 -c /var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmpbe8s1u05/source.c -o /var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmpbe8s1u05/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmpbe8s1u05/source.o -MMD -MF /var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmpbe8s1u05/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmpbe8s1u05/source.o.d" failed with exit status 1
      
            During handling of the above exception, another exception occurred:
      
            Traceback (most recent call last):
              File "<string>", line 2, in <module>
              File "<pip-setuptools-caller>", line 34, in <module>
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/setup.py", line 415, in <module>
                setup_package()
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/setup.py", line 407, in setup_package
                setup(**metadata)
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/core.py", line 137, in setup
                config = configuration()
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/setup.py", line 164, in configuration
                config.add_subpackage('numpy')
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/misc_util.py", line 1034, in add_subpackage
                config_list = self.get_subpackage(subpackage_name, subpackage_path,
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/misc_util.py", line 1000, in get_subpackage
                config = self._get_configuration_from_setup_py(
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/misc_util.py", line 942, in _get_configuration_from_setup_py
                config = setup_module.configuration(*args)
              File "numpy/setup.py", line 16, in configuration
                config.add_subpackage('linalg')
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/misc_util.py", line 1034, in add_subpackage
                config_list = self.get_subpackage(subpackage_name, subpackage_path,
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/misc_util.py", line 1000, in get_subpackage
                config = self._get_configuration_from_setup_py(
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/misc_util.py", line 942, in _get_configuration_from_setup_py
                config = setup_module.configuration(*args)
              File "numpy/linalg/setup.py", line 29, in configuration
                lapack_info = get_info('lapack_opt', 0)  # and {}
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/system_info.py", line 433, in get_info
                return cl().get_info(notfound_action)
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/system_info.py", line 625, in get_info
                self.calc_info()
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/system_info.py", line 1538, in calc_info
                openblas_info = get_info('openblas_lapack')
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/system_info.py", line 433, in get_info
                return cl().get_info(notfound_action)
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/system_info.py", line 625, in get_info
                self.calc_info()
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/system_info.py", line 1777, in calc_info
                if not (assume_lapack or self.check_embedded_lapack(info)):
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/system_info.py", line 1843, in check_embedded_lapack
                obj = c.compile([src], output_dir=tmpdir)
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/ccompiler.py", line 92, in <lambda>
                m = lambda self, *args, **kw: func(self, *args, **kw)
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/ccompiler.py", line 363, in CCompiler_compile
                single_compile(o)
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/ccompiler.py", line 323, in single_compile
                self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/ccompiler.py", line 92, in <lambda>
                m = lambda self, *args, **kw: func(self, *args, **kw)
              File "/private/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/pip-install-pq5jl3jg/numpy_24f0afb6d7a84f039ecde184ebc9effa/numpy/distutils/unixccompiler.py", line 61, in UnixCCompiler__compile
                raise CompileError(msg)
            distutils.errors.CompileError: Command "clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/jonashanetho/miniforge3/include -arch arm64 -fPIC -O2 -isystem /Users/jonashanetho/miniforge3/include -arch arm64 -c /var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmpbe8s1u05/source.c -o /var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmpbe8s1u05/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmpbe8s1u05/source.o -MMD -MF /var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmpbe8s1u05/var/folders/rb/h6n2k3t97tnc8mw3n9rkxs140000gn/T/tmpbe8s1u05/source.o.d" failed with exit status 1
            [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.
      [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.

note: This error originates from a subprocess, and is likely not a problem with pip.
Juan123
  • 1
  • 1

0 Answers0