GokuMohandas / mlops-course

Learn how to design, develop, deploy and iterate on production-grade ML applications.
https://madewithml.com
MIT License
2.96k stars 515 forks source link

Unable to install dependencies on Mac M1 #22

Closed tataganesh closed 1 year ago

tataganesh commented 1 year ago

System Details

python-version: 3.9.16
pip: 23.0
MAC OS Monterey 12.2.1

After running the command python3 -m pip install -e ".[dev]", I get the following error (Some of the error trace has been trimmed since it is too long)

            error: Command "clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -DNO_ATLAS_INFO=3 -DHAVE_CBLAS -Ibuild/src.macosx-12-arm64-3.9/numpy/core/src/umath -Ibuild/src.macosx-12-arm64-3.9/numpy/core/src/npymath -Ibuild/src.macosx-12-arm64-3.9/numpy/core/src/common -Inumpy/core/include -Ibuild/src.macosx-12-arm64-3.9/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/Users/ganesh/projects/MLops/mlops-course/venv/include -I/opt/homebrew/Cellar/python@3.9/3.9.16/Frameworks/Python.framework/Versions/3.9/include/python3.9 -Ibuild/src.macosx-12-arm64-3.9/numpy/core/src/common -Ibuild/src.macosx-12-arm64-3.9/numpy/core/src/npymath -c numpy/core/src/multiarray/buffer.c -o build/temp.macosx-12-arm64-3.9/numpy/core/src/multiarray/buffer.o -MMD -MF build/temp.macosx-12-arm64-3.9/numpy/core/src/multiarray/buffer.o.d -faltivec -I/System/Library/Frameworks/vecLib.framework/Headers" 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
      Failed to build numpy
      ERROR: Could not build wheels for numpy, 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.

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

python 3.8.16 also generates the same error.

With python 3.10.9, I get the following error

ERROR: Cannot install tagifai and tagifai[dev]==0.1 because these package versions have conflicting dependencies.

The conflict is caused by:
    tagifai[dev] 0.1 depends on numpy==1.19.5
    great-expectations 0.15.15 depends on numpy>=1.14.1
    imbalanced-learn 0.8.1 depends on numpy>=1.13.3
    mlflow 1.23.1 depends on numpy
    numpyencoder 0.3.0 depends on numpy>=1.14.3
    optuna 2.10.0 depends on numpy
    pandas 1.3.5 depends on numpy>=1.21.0; python_version >= "3.10"

I saw that this issue refers to a similar problem. However, python3.7 seems to be deprecated for my system.

Any help would be appreciated, thank you!

GokuMohandas commented 1 year ago

Hi @tataganesh, I had to update the Python version recently to accommodate for the latest GitHub action's runners. I was able to successfully run everything on an M2 with Python version 3.9.1. Can you try with that specific version? Also with this version in place, it looks like Pandas 1.3.5 depends on Numpy >=1.17.3 (pydata, repo) and not the >=1.21.0 in your error message above using Python 3.10.9. Let me know if that works.

Also make sure that you're doing all of this inside a virtual environment. The first error you posted indicates that you may be using a pip version that's not compatible with your Python version. So after creating and activating the virtual environment, be sure to upgrade pip, setuptools and wheel with python3 -m pip install --upgrade pip setuptools wheel. For Python 3.9.1 this should install pip 23.0, setuptools 67.1.0 and wheel 0.38.4.

tataganesh commented 1 year ago

Thanks for the suggestions @GokuMohandas ! I switched to python 3.9.1 and ensured that I am running the commands in the virtual environment. However, I am still getting the same error. Here are the steps I followed.

Create virtual environment

python3 -m venv venv
source venv/bin/activate

Confirming my python version

(venv) ➜  mlops-course git:(main) python3
Python 3.9.1 (default, Feb  3 2023, 12:09:10)
[Clang 13.0.0 (clang-1300.0.29.30)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

Upgrade pip

python3 -m pip install --upgrade pip setuptools wheel
...
Successfully installed pip-23.0 setuptools-67.1.0 wheel-0.38.4
pip --version
>> pip 23.0 from /Users/ganesh/projects/MLops/mlops-course/venv/lib/python3.9/site-packages/pip (python 3.9)
which python
>> /Users/ganesh/projects/MLops/mlops-course/venv/bin/python

Installing dependencies (Sorry for attaching the full error trace, I can put it somewhere else if it is too long for this issue).

(venv) ➜  mlops-course git:(main) python3 -m pip install -e ".[dev]"
Obtaining file:///Users/ganesh/projects/MLops/mlops-course
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Preparing editable metadata (pyproject.toml) ... done
Collecting imbalanced-learn==0.8.1
  Using cached imbalanced_learn-0.8.1-py3-none-any.whl (189 kB)
Collecting numpyencoder==0.3.0
  Using cached numpyencoder-0.3.0-py3-none-any.whl (3.0 kB)
Collecting scikit-learn==0.24.2
  Using cached scikit-learn-0.24.2.tar.gz (7.5 MB)
  Installing build dependencies ... error
  error: subprocess-exited-with-error

  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [933 lines of output]
      Ignoring numpy: markers 'python_version == "3.6" and platform_machine != "aarch64" and platform_system != "AIX" and platform_python_implementation == "CPython"' don't match your environment
      Ignoring numpy: markers 'python_version == "3.6" and platform_machine != "aarch64" and platform_system != "AIX" and platform_python_implementation != "CPython"' don't match your environment
      Ignoring numpy: markers 'python_version == "3.6" and platform_machine != "aarch64" and platform_system == "AIX"' don't match your environment
      Ignoring numpy: markers 'python_version == "3.7" and platform_machine != "aarch64" and platform_system == "AIX"' don't match your environment
      Ignoring numpy: markers 'python_version == "3.6" and platform_machine == "aarch64"' don't match your environment
      Ignoring numpy: markers 'python_version == "3.7" and platform_machine == "aarch64"' don't match your environment
      Ignoring numpy: markers 'python_version == "3.8" and platform_machine == "aarch64"' don't match your environment
      Ignoring numpy: markers 'python_version == "3.7" and platform_machine != "aarch64" and platform_system != "AIX"' don't match your environment
      Ignoring numpy: markers 'python_version == "3.8" and platform_machine != "aarch64"' don't match your environment
      Collecting setuptools
        Using cached setuptools-67.1.0-py3-none-any.whl (1.1 MB)
      Collecting wheel
        Using cached wheel-0.38.4-py3-none-any.whl (36 kB)
      Collecting Cython>=0.28.5
        Using cached Cython-0.29.33-py2.py3-none-any.whl (987 kB)
      Collecting numpy==1.19.3
        Using cached numpy-1.19.3.zip (7.3 MB)
        Installing build dependencies: started
        Installing build dependencies: finished with status 'done'
        Getting requirements to build wheel: started
        Getting requirements to build wheel: finished with status 'done'
        Preparing metadata (pyproject.toml): started
        Preparing metadata (pyproject.toml): finished with status 'done'
      Collecting scipy>=0.19.1
        Using cached scipy-1.10.0-cp39-cp39-macosx_12_0_arm64.whl (28.9 MB)
        Using cached scipy-1.9.3-cp39-cp39-macosx_12_0_arm64.whl (28.6 MB)
      Building wheels for collected packages: numpy
        Building wheel for numpy (pyproject.toml): started
        Building wheel for numpy (pyproject.toml): finished with status 'error'
        error: subprocess-exited-with-error

        × Building wheel for numpy (pyproject.toml) did not run successfully.
        │ exit code: 1
        ╰─> [893 lines of output]
            Running from numpy source directory.
            numpy/random/_bounded_integers.pxd.in has not changed
            numpy/random/_philox.pyx has not changed
            numpy/random/_bounded_integers.pyx.in has not changed
            numpy/random/_sfc64.pyx has not changed
            numpy/random/_mt19937.pyx has not changed
            numpy/random/bit_generator.pyx has not changed
            Processing numpy/random/_bounded_integers.pyx
            numpy/random/mtrand.pyx has not changed
            numpy/random/_generator.pyx has not changed
            numpy/random/_pcg64.pyx has not changed
            numpy/random/_common.pyx has not changed
            Cythonizing sources
            blas_opt_info:
            blas_mkl_info:
            customize UnixCCompiler
              libraries mkl_rt not found in ['/Users/ganesh/projects/MLops/mlops-course/venv/lib', '/usr/local/lib', '/usr/lib']
              NOT AVAILABLE

            blis_info:
              libraries blis not found in ['/Users/ganesh/projects/MLops/mlops-course/venv/lib', '/usr/local/lib', '/usr/lib']
              NOT AVAILABLE

            openblas_info:
              libraries openblas not found in ['/Users/ganesh/projects/MLops/mlops-course/venv/lib', '/usr/local/lib', '/usr/lib']
              NOT AVAILABLE

            atlas_3_10_blas_threads_info:
            Setting PTATLAS=ATLAS
              libraries tatlas not found in ['/Users/ganesh/projects/MLops/mlops-course/venv/lib', '/usr/local/lib', '/usr/lib']
              NOT AVAILABLE

            atlas_3_10_blas_info:
              libraries satlas not found in ['/Users/ganesh/projects/MLops/mlops-course/venv/lib', '/usr/local/lib', '/usr/lib']
              NOT AVAILABLE

            atlas_blas_threads_info:
            Setting PTATLAS=ATLAS
              libraries ptf77blas,ptcblas,atlas not found in ['/Users/ganesh/projects/MLops/mlops-course/venv/lib', '/usr/local/lib', '/usr/lib']
              NOT AVAILABLE

            atlas_blas_info:
              libraries f77blas,cblas,atlas not found in ['/Users/ganesh/projects/MLops/mlops-course/venv/lib', '/usr/local/lib', '/usr/lib']
              NOT AVAILABLE

            accelerate_info:
              libraries accelerate not found in ['/Users/ganesh/projects/MLops/mlops-course/venv/lib', '/usr/local/lib', '/usr/lib']
            Library accelerate was not found. Ignoring
              libraries veclib not found in ['/Users/ganesh/projects/MLops/mlops-course/venv/lib', '/usr/local/lib', '/usr/lib']
            Library veclib was not found. Ignoring
              FOUND:
                extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers']
                extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
                define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)]

              FOUND:
                extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers']
                extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
                define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)]

            non-existing path in 'numpy/distutils': 'site.cfg'
            lapack_opt_info:
            lapack_mkl_info:
              libraries mkl_rt not found in ['/Users/ganesh/projects/MLops/mlops-course/venv/lib', '/usr/local/lib', '/usr/lib']
              NOT AVAILABLE

            openblas_lapack_info:
              libraries openblas not found in ['/Users/ganesh/projects/MLops/mlops-course/venv/lib', '/usr/local/lib', '/usr/lib']
              NOT AVAILABLE

            openblas_clapack_info:
              libraries openblas,lapack not found in ['/Users/ganesh/projects/MLops/mlops-course/venv/lib', '/usr/local/lib', '/usr/lib']
              NOT AVAILABLE

            flame_info:
              libraries flame not found in ['/Users/ganesh/projects/MLops/mlops-course/venv/lib', '/usr/local/lib', '/usr/lib']
              NOT AVAILABLE

            atlas_3_10_threads_info:
            Setting PTATLAS=ATLAS
              libraries lapack_atlas not found in /Users/ganesh/projects/MLops/mlops-course/venv/lib
              libraries tatlas,tatlas not found in /Users/ganesh/projects/MLops/mlops-course/venv/lib
              libraries lapack_atlas not found in /usr/local/lib
              libraries tatlas,tatlas not found in /usr/local/lib
              libraries lapack_atlas not found in /usr/lib
              libraries tatlas,tatlas not found in /usr/lib
            <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
              NOT AVAILABLE

            atlas_3_10_info:
              libraries lapack_atlas not found in /Users/ganesh/projects/MLops/mlops-course/venv/lib
              libraries satlas,satlas not found in /Users/ganesh/projects/MLops/mlops-course/venv/lib
              libraries lapack_atlas not found in /usr/local/lib
              libraries satlas,satlas not found in /usr/local/lib
              libraries lapack_atlas not found in /usr/lib
              libraries satlas,satlas not found in /usr/lib
            <class 'numpy.distutils.system_info.atlas_3_10_info'>
              NOT AVAILABLE

            atlas_threads_info:
            Setting PTATLAS=ATLAS
              libraries lapack_atlas not found in /Users/ganesh/projects/MLops/mlops-course/venv/lib
              libraries ptf77blas,ptcblas,atlas not found in /Users/ganesh/projects/MLops/mlops-course/venv/lib
              libraries lapack_atlas not found in /usr/local/lib
              libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
              libraries lapack_atlas not found in /usr/lib
              libraries ptf77blas,ptcblas,atlas not found in /usr/lib
            <class 'numpy.distutils.system_info.atlas_threads_info'>
              NOT AVAILABLE

            atlas_info:
              libraries lapack_atlas not found in /Users/ganesh/projects/MLops/mlops-course/venv/lib
              libraries f77blas,cblas,atlas not found in /Users/ganesh/projects/MLops/mlops-course/venv/lib
              libraries lapack_atlas not found in /usr/local/lib
              libraries f77blas,cblas,atlas not found in /usr/local/lib
              libraries lapack_atlas not found in /usr/lib
              libraries f77blas,cblas,atlas not found in /usr/lib
            <class 'numpy.distutils.system_info.atlas_info'>
              NOT AVAILABLE

              FOUND:
                extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers']
                extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
                define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)]

            /private/var/folders/lr/kttzhtzs6xvcpkq5qn35hyc40000gn/T/pip-build-env-qdzyk9jb/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py:275: UserWarning: Unknown distribution option: 'define_macros'
              warnings.warn(msg)
            running bdist_wheel
            running build
            running config_cc
            unifing config_cc, config, build_clib, build_ext, build commands --compiler options
            running config_fc
            unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
            running build_src
            build_src
            building py_modules sources
            building library "npymath" sources
            Could not locate executable gfortran
            Could not locate executable f95
            Could not locate executable f90
            Could not locate executable f77
            Could not locate executable xlf90
            Could not locate executable xlf
            Could not locate executable ifort
            Could not locate executable ifc
            Could not locate executable g77
            Could not locate executable g95
            Could not locate executable pgfortran
            don't know how to compile Fortran code on platform 'posix'
              adding 'build/src.macosx-12.2-arm64-3.9/numpy/core/src/npymath' to include_dirs.
            None - nothing done with h_files = ['build/src.macosx-12.2-arm64-3.9/numpy/core/src/npymath/npy_math_internal.h']
            building library "npysort" sources
              adding 'build/src.macosx-12.2-arm64-3.9/numpy/core/src/common' to include_dirs.
            None - nothing done with h_files = ['build/src.macosx-12.2-arm64-3.9/numpy/core/src/common/npy_sort.h', 'build/src.macosx-12.2-arm64-3.9/numpy/core/src/common/npy_partition.h', 'build/src.macosx-12.2-arm64-3.9/numpy/core/src/common/npy_binsearch.h']
            building library "npyrandom" sources
            building extension "numpy.core._multiarray_tests" sources
            building extension "numpy.core._multiarray_umath" sources
              adding 'build/src.macosx-12.2-arm64-3.9/numpy/core/src/umath' to include_dirs.
              adding 'build/src.macosx-12.2-arm64-3.9/numpy/core/src/npymath' to include_dirs.
              adding 'build/src.macosx-12.2-arm64-3.9/numpy/core/src/common' to include_dirs.
            numpy.core - nothing done with h_files = ['build/src.macosx-12.2-arm64-3.9/numpy/core/src/umath/funcs.inc', 'build/src.macosx-12.2-arm64-3.9/numpy/core/src/umath/simd.inc', 'build/src.macosx-12.2-arm64-3.9/numpy/core/src/umath/loops.h', 'build/src.macosx-12.2-arm64-3.9/numpy/core/src/umath/matmul.h', 'build/src.macosx-12.2-arm64-3.9/numpy/core/src/umath/clip.h', 'build/src.macosx-12.2-arm64-3.9/numpy/core/src/npymath/npy_math_internal.h', 'build/src.macosx-12.2-arm64-3.9/numpy/core/src/common/templ_common.h', 'build/src.macosx-12.2-arm64-3.9/numpy/core/include/numpy/config.h', 'build/src.macosx-12.2-arm64-3.9/numpy/core/include/numpy/_numpyconfig.h', 'build/src.macosx-12.2-arm64-3.9/numpy/core/include/numpy/__multiarray_api.h', 'build/src.macosx-12.2-arm64-3.9/numpy/core/include/numpy/__ufunc_api.h']
            building extension "numpy.core._umath_tests" sources
            building extension "numpy.core._rational_tests" sources
            building extension "numpy.core._struct_ufunc_tests" sources
            building extension "numpy.core._operand_flag_tests" sources
            building extension "numpy.fft._pocketfft_internal" sources
            building extension "numpy.linalg.lapack_lite" sources
            building extension "numpy.linalg._umath_linalg" sources
            building extension "numpy.random._mt19937" sources
            building extension "numpy.random._philox" sources
            building extension "numpy.random._pcg64" sources
            building extension "numpy.random._sfc64" sources
            building extension "numpy.random._common" sources
            building extension "numpy.random.bit_generator" sources
            building extension "numpy.random._generator" sources
            building extension "numpy.random._bounded_integers" sources
            building extension "numpy.random.mtrand" sources
            building data_files sources
            build_src: building npy-pkg config files
            running build_py
            creating build/lib.macosx-12.2-arm64-3.9
            creating build/lib.macosx-12.2-arm64-3.9/numpy
            copying numpy/conftest.py -> build/lib.macosx-12.2-arm64-3.9/numpy
            copying numpy/version.py -> build/lib.macosx-12.2-arm64-3.9/numpy
            copying numpy/_globals.py -> build/lib.macosx-12.2-arm64-3.9/numpy
            copying numpy/__init__.py -> build/lib.macosx-12.2-arm64-3.9/numpy
            copying numpy/dual.py -> build/lib.macosx-12.2-arm64-3.9/numpy
            copying numpy/_distributor_init.py -> build/lib.macosx-12.2-arm64-3.9/numpy
            copying numpy/setup.py -> build/lib.macosx-12.2-arm64-3.9/numpy
            copying numpy/ctypeslib.py -> build/lib.macosx-12.2-arm64-3.9/numpy
            copying numpy/matlib.py -> build/lib.macosx-12.2-arm64-3.9/numpy
            copying numpy/_pytesttester.py -> build/lib.macosx-12.2-arm64-3.9/numpy
            copying build/src.macosx-12.2-arm64-3.9/numpy/__config__.py -> build/lib.macosx-12.2-arm64-3.9/numpy
            creating build/lib.macosx-12.2-arm64-3.9/numpy/compat
            copying numpy/compat/py3k.py -> build/lib.macosx-12.2-arm64-3.9/numpy/compat
            copying numpy/compat/__init__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/compat
            copying numpy/compat/setup.py -> build/lib.macosx-12.2-arm64-3.9/numpy/compat
            copying numpy/compat/_inspect.py -> build/lib.macosx-12.2-arm64-3.9/numpy/compat
            creating build/lib.macosx-12.2-arm64-3.9/numpy/compat/tests
            copying numpy/compat/tests/__init__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/compat/tests
            copying numpy/compat/tests/test_compat.py -> build/lib.macosx-12.2-arm64-3.9/numpy/compat/tests
            creating build/lib.macosx-12.2-arm64-3.9/numpy/core
            copying numpy/core/umath.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core
            copying numpy/core/fromnumeric.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core
            copying numpy/core/_dtype.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core
            copying numpy/core/_add_newdocs.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core
            copying numpy/core/_methods.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core
            copying numpy/core/_internal.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core
            copying numpy/core/_string_helpers.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core
            copying numpy/core/multiarray.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core
            copying numpy/core/_asarray.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core
            copying numpy/core/records.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core
            copying numpy/core/__init__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core
            copying numpy/core/setup_common.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core
            copying numpy/core/memmap.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core
            copying numpy/core/overrides.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core
            copying numpy/core/getlimits.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core
            copying numpy/core/_dtype_ctypes.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core
            copying numpy/core/defchararray.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core
            copying numpy/core/shape_base.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core
            copying numpy/core/machar.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core
            copying numpy/core/setup.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core
            copying numpy/core/numeric.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core
            copying numpy/core/function_base.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core
            copying numpy/core/einsumfunc.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core
            copying numpy/core/umath_tests.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core
            copying numpy/core/_ufunc_config.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core
            copying numpy/core/_exceptions.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core
            copying numpy/core/numerictypes.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core
            copying numpy/core/_type_aliases.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core
            copying numpy/core/cversions.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core
            copying numpy/core/arrayprint.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core
            copying numpy/core/code_generators/generate_numpy_api.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core
            creating build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_numerictypes.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_scalar_methods.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_scalarmath.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_item_selection.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_machar.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_unicode.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_arrayprint.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_scalarbuffer.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_indexerrors.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_print.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_half.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_mem_overlap.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_shape_base.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_deprecations.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/__init__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_errstate.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_records.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_scalarinherit.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_indexing.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_umath.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_numeric.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_function_base.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_datetime.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test__exceptions.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_extint128.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_umath_complex.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/_locales.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_defchararray.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_conversion_utils.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_scalarprint.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_abc.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_ufunc.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_dtype.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_umath_accuracy.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_getlimits.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_einsum.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_api.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_longdouble.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_overrides.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_scalar_ctors.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_multiarray.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_memmap.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_nditer.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_cpu_features.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_protocols.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            copying numpy/core/tests/test_regression.py -> build/lib.macosx-12.2-arm64-3.9/numpy/core/tests
            creating build/lib.macosx-12.2-arm64-3.9/numpy/distutils
            copying numpy/distutils/unixccompiler.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils
            copying numpy/distutils/numpy_distribution.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils
            copying numpy/distutils/conv_template.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils
            copying numpy/distutils/cpuinfo.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils
            copying numpy/distutils/ccompiler.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils
            copying numpy/distutils/msvc9compiler.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils
            copying numpy/distutils/npy_pkg_config.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils
            copying numpy/distutils/misc_util.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils
            copying numpy/distutils/log.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils
            copying numpy/distutils/line_endings.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils
            copying numpy/distutils/lib2def.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils
            copying numpy/distutils/pathccompiler.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils
            copying numpy/distutils/system_info.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils
            copying numpy/distutils/__init__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils
            copying numpy/distutils/core.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils
            copying numpy/distutils/exec_command.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils
            copying numpy/distutils/from_template.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils
            copying numpy/distutils/mingw32ccompiler.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils
            copying numpy/distutils/setup.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils
            copying numpy/distutils/extension.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils
            copying numpy/distutils/msvccompiler.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils
            copying numpy/distutils/intelccompiler.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils
            copying numpy/distutils/_shell_utils.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils
            copying build/src.macosx-12.2-arm64-3.9/numpy/distutils/__config__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils
            creating build/lib.macosx-12.2-arm64-3.9/numpy/distutils/command
            copying numpy/distutils/command/build.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/command
            copying numpy/distutils/command/config_compiler.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/command
            copying numpy/distutils/command/build_ext.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/command
            copying numpy/distutils/command/config.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/command
            copying numpy/distutils/command/install_headers.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/command
            copying numpy/distutils/command/build_py.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/command
            copying numpy/distutils/command/build_src.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/command
            copying numpy/distutils/command/__init__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/command
            copying numpy/distutils/command/sdist.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/command
            copying numpy/distutils/command/build_scripts.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/command
            copying numpy/distutils/command/bdist_rpm.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/command
            copying numpy/distutils/command/install_clib.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/command
            copying numpy/distutils/command/build_clib.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/command
            copying numpy/distutils/command/autodist.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/command
            copying numpy/distutils/command/egg_info.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/command
            copying numpy/distutils/command/install.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/command
            copying numpy/distutils/command/develop.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/command
            copying numpy/distutils/command/install_data.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/command
            creating build/lib.macosx-12.2-arm64-3.9/numpy/distutils/fcompiler
            copying numpy/distutils/fcompiler/gnu.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/fcompiler
            copying numpy/distutils/fcompiler/compaq.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/fcompiler
            copying numpy/distutils/fcompiler/intel.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/fcompiler
            copying numpy/distutils/fcompiler/none.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/fcompiler
            copying numpy/distutils/fcompiler/nag.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/fcompiler
            copying numpy/distutils/fcompiler/pg.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/fcompiler
            copying numpy/distutils/fcompiler/ibm.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/fcompiler
            copying numpy/distutils/fcompiler/sun.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/fcompiler
            copying numpy/distutils/fcompiler/nv.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/fcompiler
            copying numpy/distutils/fcompiler/lahey.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/fcompiler
            copying numpy/distutils/fcompiler/__init__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/fcompiler
            copying numpy/distutils/fcompiler/g95.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/fcompiler
            copying numpy/distutils/fcompiler/mips.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/fcompiler
            copying numpy/distutils/fcompiler/hpux.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/fcompiler
            copying numpy/distutils/fcompiler/environment.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/fcompiler
            copying numpy/distutils/fcompiler/pathf95.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/fcompiler
            copying numpy/distutils/fcompiler/absoft.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/fcompiler
            copying numpy/distutils/fcompiler/vast.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/fcompiler
            creating build/lib.macosx-12.2-arm64-3.9/numpy/distutils/tests
            copying numpy/distutils/tests/test_system_info.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/tests
            copying numpy/distutils/tests/test_mingw32ccompiler.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/tests
            copying numpy/distutils/tests/test_from_template.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/tests
            copying numpy/distutils/tests/__init__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/tests
            copying numpy/distutils/tests/test_fcompiler_intel.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/tests
            copying numpy/distutils/tests/test_misc_util.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/tests
            copying numpy/distutils/tests/test_fcompiler.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/tests
            copying numpy/distutils/tests/test_shell_utils.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/tests
            copying numpy/distutils/tests/test_exec_command.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/tests
            copying numpy/distutils/tests/test_npy_pkg_config.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/tests
            copying numpy/distutils/tests/test_fcompiler_nagfor.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/tests
            copying numpy/distutils/tests/test_fcompiler_gnu.py -> build/lib.macosx-12.2-arm64-3.9/numpy/distutils/tests
            creating build/lib.macosx-12.2-arm64-3.9/numpy/doc
            copying numpy/doc/misc.py -> build/lib.macosx-12.2-arm64-3.9/numpy/doc
            copying numpy/doc/internals.py -> build/lib.macosx-12.2-arm64-3.9/numpy/doc
            copying numpy/doc/creation.py -> build/lib.macosx-12.2-arm64-3.9/numpy/doc
            copying numpy/doc/dispatch.py -> build/lib.macosx-12.2-arm64-3.9/numpy/doc
            copying numpy/doc/constants.py -> build/lib.macosx-12.2-arm64-3.9/numpy/doc
            copying numpy/doc/ufuncs.py -> build/lib.macosx-12.2-arm64-3.9/numpy/doc
            copying numpy/doc/__init__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/doc
            copying numpy/doc/broadcasting.py -> build/lib.macosx-12.2-arm64-3.9/numpy/doc
            copying numpy/doc/basics.py -> build/lib.macosx-12.2-arm64-3.9/numpy/doc
            copying numpy/doc/subclassing.py -> build/lib.macosx-12.2-arm64-3.9/numpy/doc
            copying numpy/doc/indexing.py -> build/lib.macosx-12.2-arm64-3.9/numpy/doc
            copying numpy/doc/byteswapping.py -> build/lib.macosx-12.2-arm64-3.9/numpy/doc
            copying numpy/doc/structured_arrays.py -> build/lib.macosx-12.2-arm64-3.9/numpy/doc
            copying numpy/doc/glossary.py -> build/lib.macosx-12.2-arm64-3.9/numpy/doc
            creating build/lib.macosx-12.2-arm64-3.9/numpy/f2py
            copying numpy/f2py/cfuncs.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py
            copying numpy/f2py/common_rules.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py
            copying numpy/f2py/crackfortran.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py
            copying numpy/f2py/cb_rules.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py
            copying numpy/f2py/__init__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py
            copying numpy/f2py/rules.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py
            copying numpy/f2py/f2py2e.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py
            copying numpy/f2py/func2subr.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py
            copying numpy/f2py/__version__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py
            copying numpy/f2py/diagnose.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py
            copying numpy/f2py/setup.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py
            copying numpy/f2py/capi_maps.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py
            copying numpy/f2py/f90mod_rules.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py
            copying numpy/f2py/f2py_testing.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py
            copying numpy/f2py/use_rules.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py
            copying numpy/f2py/auxfuncs.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py
            copying numpy/f2py/__main__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py
            creating build/lib.macosx-12.2-arm64-3.9/numpy/f2py/tests
            copying numpy/f2py/tests/test_mixed.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py/tests
            copying numpy/f2py/tests/test_return_logical.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py/tests
            copying numpy/f2py/tests/test_assumed_shape.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py/tests
            copying numpy/f2py/tests/test_common.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py/tests
            copying numpy/f2py/tests/test_kind.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py/tests
            copying numpy/f2py/tests/test_array_from_pyobj.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py/tests
            copying numpy/f2py/tests/test_return_real.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py/tests
            copying numpy/f2py/tests/util.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py/tests
            copying numpy/f2py/tests/test_size.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py/tests
            copying numpy/f2py/tests/test_callback.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py/tests
            copying numpy/f2py/tests/test_string.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py/tests
            copying numpy/f2py/tests/__init__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py/tests
            copying numpy/f2py/tests/test_quoted_character.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py/tests
            copying numpy/f2py/tests/test_parameter.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py/tests
            copying numpy/f2py/tests/test_semicolon_split.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py/tests
            copying numpy/f2py/tests/test_compile_function.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py/tests
            copying numpy/f2py/tests/test_block_docstring.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py/tests
            copying numpy/f2py/tests/test_return_integer.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py/tests
            copying numpy/f2py/tests/test_return_character.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py/tests
            copying numpy/f2py/tests/test_return_complex.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py/tests
            copying numpy/f2py/tests/test_crackfortran.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py/tests
            copying numpy/f2py/tests/test_regression.py -> build/lib.macosx-12.2-arm64-3.9/numpy/f2py/tests
            creating build/lib.macosx-12.2-arm64-3.9/numpy/fft
            copying numpy/fft/__init__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/fft
            copying numpy/fft/setup.py -> build/lib.macosx-12.2-arm64-3.9/numpy/fft
            copying numpy/fft/helper.py -> build/lib.macosx-12.2-arm64-3.9/numpy/fft
            copying numpy/fft/_pocketfft.py -> build/lib.macosx-12.2-arm64-3.9/numpy/fft
            creating build/lib.macosx-12.2-arm64-3.9/numpy/fft/tests
            copying numpy/fft/tests/test_pocketfft.py -> build/lib.macosx-12.2-arm64-3.9/numpy/fft/tests
            copying numpy/fft/tests/test_helper.py -> build/lib.macosx-12.2-arm64-3.9/numpy/fft/tests
            copying numpy/fft/tests/__init__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/fft/tests
            creating build/lib.macosx-12.2-arm64-3.9/numpy/lib
            copying numpy/lib/_iotools.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib
            copying numpy/lib/mixins.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib
            copying numpy/lib/nanfunctions.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib
            copying numpy/lib/recfunctions.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib
            copying numpy/lib/histograms.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib
            copying numpy/lib/scimath.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib
            copying numpy/lib/_version.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib
            copying numpy/lib/user_array.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib
            copying numpy/lib/__init__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib
            copying numpy/lib/format.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib
            copying numpy/lib/twodim_base.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib
            copying numpy/lib/financial.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib
            copying numpy/lib/index_tricks.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib
            copying numpy/lib/npyio.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib
            copying numpy/lib/shape_base.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib
            copying numpy/lib/setup.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib
            copying numpy/lib/stride_tricks.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib
            copying numpy/lib/utils.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib
            copying numpy/lib/arrayterator.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib
            copying numpy/lib/function_base.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib
            copying numpy/lib/arraysetops.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib
            copying numpy/lib/arraypad.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib
            copying numpy/lib/type_check.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib
            copying numpy/lib/polynomial.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib
            copying numpy/lib/_datasource.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib
            copying numpy/lib/ufunclike.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib
            creating build/lib.macosx-12.2-arm64-3.9/numpy/lib/tests
            copying numpy/lib/tests/test_type_check.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib/tests
            copying numpy/lib/tests/test_utils.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib/tests
            copying numpy/lib/tests/test_twodim_base.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib/tests
            copying numpy/lib/tests/test_polynomial.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib/tests
            copying numpy/lib/tests/test__iotools.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib/tests
            copying numpy/lib/tests/test_shape_base.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib/tests
            copying numpy/lib/tests/test_ufunclike.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib/tests
            copying numpy/lib/tests/test_index_tricks.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib/tests
            copying numpy/lib/tests/__init__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib/tests
            copying numpy/lib/tests/test_arrayterator.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib/tests
            copying numpy/lib/tests/test__version.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib/tests
            copying numpy/lib/tests/test_io.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib/tests
            copying numpy/lib/tests/test_arraysetops.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib/tests
            copying numpy/lib/tests/test_function_base.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib/tests
            copying numpy/lib/tests/test_arraypad.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib/tests
            copying numpy/lib/tests/test_mixins.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib/tests
            copying numpy/lib/tests/test_packbits.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib/tests
            copying numpy/lib/tests/test__datasource.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib/tests
            copying numpy/lib/tests/test_stride_tricks.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib/tests
            copying numpy/lib/tests/test_financial.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib/tests
            copying numpy/lib/tests/test_recfunctions.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib/tests
            copying numpy/lib/tests/test_nanfunctions.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib/tests
            copying numpy/lib/tests/test_format.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib/tests
            copying numpy/lib/tests/test_histograms.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib/tests
            copying numpy/lib/tests/test_regression.py -> build/lib.macosx-12.2-arm64-3.9/numpy/lib/tests
            creating build/lib.macosx-12.2-arm64-3.9/numpy/linalg
            copying numpy/linalg/__init__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/linalg
            copying numpy/linalg/setup.py -> build/lib.macosx-12.2-arm64-3.9/numpy/linalg
            copying numpy/linalg/linalg.py -> build/lib.macosx-12.2-arm64-3.9/numpy/linalg
            creating build/lib.macosx-12.2-arm64-3.9/numpy/linalg/tests
            copying numpy/linalg/tests/test_linalg.py -> build/lib.macosx-12.2-arm64-3.9/numpy/linalg/tests
            copying numpy/linalg/tests/test_deprecations.py -> build/lib.macosx-12.2-arm64-3.9/numpy/linalg/tests
            copying numpy/linalg/tests/__init__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/linalg/tests
            copying numpy/linalg/tests/test_build.py -> build/lib.macosx-12.2-arm64-3.9/numpy/linalg/tests
            copying numpy/linalg/tests/test_regression.py -> build/lib.macosx-12.2-arm64-3.9/numpy/linalg/tests
            creating build/lib.macosx-12.2-arm64-3.9/numpy/ma
            copying numpy/ma/extras.py -> build/lib.macosx-12.2-arm64-3.9/numpy/ma
            copying numpy/ma/testutils.py -> build/lib.macosx-12.2-arm64-3.9/numpy/ma
            copying numpy/ma/__init__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/ma
            copying numpy/ma/core.py -> build/lib.macosx-12.2-arm64-3.9/numpy/ma
            copying numpy/ma/bench.py -> build/lib.macosx-12.2-arm64-3.9/numpy/ma
            copying numpy/ma/setup.py -> build/lib.macosx-12.2-arm64-3.9/numpy/ma
            copying numpy/ma/timer_comparison.py -> build/lib.macosx-12.2-arm64-3.9/numpy/ma
            copying numpy/ma/mrecords.py -> build/lib.macosx-12.2-arm64-3.9/numpy/ma
            creating build/lib.macosx-12.2-arm64-3.9/numpy/ma/tests
            copying numpy/ma/tests/test_old_ma.py -> build/lib.macosx-12.2-arm64-3.9/numpy/ma/tests
            copying numpy/ma/tests/test_core.py -> build/lib.macosx-12.2-arm64-3.9/numpy/ma/tests
            copying numpy/ma/tests/test_deprecations.py -> build/lib.macosx-12.2-arm64-3.9/numpy/ma/tests
            copying numpy/ma/tests/__init__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/ma/tests
            copying numpy/ma/tests/test_subclassing.py -> build/lib.macosx-12.2-arm64-3.9/numpy/ma/tests
            copying numpy/ma/tests/test_extras.py -> build/lib.macosx-12.2-arm64-3.9/numpy/ma/tests
            copying numpy/ma/tests/test_mrecords.py -> build/lib.macosx-12.2-arm64-3.9/numpy/ma/tests
            copying numpy/ma/tests/test_regression.py -> build/lib.macosx-12.2-arm64-3.9/numpy/ma/tests
            creating build/lib.macosx-12.2-arm64-3.9/numpy/matrixlib
            copying numpy/matrixlib/__init__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/matrixlib
            copying numpy/matrixlib/setup.py -> build/lib.macosx-12.2-arm64-3.9/numpy/matrixlib
            copying numpy/matrixlib/defmatrix.py -> build/lib.macosx-12.2-arm64-3.9/numpy/matrixlib
            creating build/lib.macosx-12.2-arm64-3.9/numpy/matrixlib/tests
            copying numpy/matrixlib/tests/test_matrix_linalg.py -> build/lib.macosx-12.2-arm64-3.9/numpy/matrixlib/tests
            copying numpy/matrixlib/tests/test_defmatrix.py -> build/lib.macosx-12.2-arm64-3.9/numpy/matrixlib/tests
            copying numpy/matrixlib/tests/__init__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/matrixlib/tests
            copying numpy/matrixlib/tests/test_interaction.py -> build/lib.macosx-12.2-arm64-3.9/numpy/matrixlib/tests
            copying numpy/matrixlib/tests/test_numeric.py -> build/lib.macosx-12.2-arm64-3.9/numpy/matrixlib/tests
            copying numpy/matrixlib/tests/test_masked_matrix.py -> build/lib.macosx-12.2-arm64-3.9/numpy/matrixlib/tests
            copying numpy/matrixlib/tests/test_multiarray.py -> build/lib.macosx-12.2-arm64-3.9/numpy/matrixlib/tests
            copying numpy/matrixlib/tests/test_regression.py -> build/lib.macosx-12.2-arm64-3.9/numpy/matrixlib/tests
            creating build/lib.macosx-12.2-arm64-3.9/numpy/polynomial
            copying numpy/polynomial/laguerre.py -> build/lib.macosx-12.2-arm64-3.9/numpy/polynomial
            copying numpy/polynomial/_polybase.py -> build/lib.macosx-12.2-arm64-3.9/numpy/polynomial
            copying numpy/polynomial/polyutils.py -> build/lib.macosx-12.2-arm64-3.9/numpy/polynomial
            copying numpy/polynomial/__init__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/polynomial
            copying numpy/polynomial/setup.py -> build/lib.macosx-12.2-arm64-3.9/numpy/polynomial
            copying numpy/polynomial/hermite_e.py -> build/lib.macosx-12.2-arm64-3.9/numpy/polynomial
            copying numpy/polynomial/chebyshev.py -> build/lib.macosx-12.2-arm64-3.9/numpy/polynomial
            copying numpy/polynomial/polynomial.py -> build/lib.macosx-12.2-arm64-3.9/numpy/polynomial
            copying numpy/polynomial/legendre.py -> build/lib.macosx-12.2-arm64-3.9/numpy/polynomial
            copying numpy/polynomial/hermite.py -> build/lib.macosx-12.2-arm64-3.9/numpy/polynomial
            creating build/lib.macosx-12.2-arm64-3.9/numpy/polynomial/tests
            copying numpy/polynomial/tests/test_chebyshev.py -> build/lib.macosx-12.2-arm64-3.9/numpy/polynomial/tests
            copying numpy/polynomial/tests/test_hermite_e.py -> build/lib.macosx-12.2-arm64-3.9/numpy/polynomial/tests
            copying numpy/polynomial/tests/test_polynomial.py -> build/lib.macosx-12.2-arm64-3.9/numpy/polynomial/tests
            copying numpy/polynomial/tests/__init__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/polynomial/tests
            copying numpy/polynomial/tests/test_laguerre.py -> build/lib.macosx-12.2-arm64-3.9/numpy/polynomial/tests
            copying numpy/polynomial/tests/test_legendre.py -> build/lib.macosx-12.2-arm64-3.9/numpy/polynomial/tests
            copying numpy/polynomial/tests/test_printing.py -> build/lib.macosx-12.2-arm64-3.9/numpy/polynomial/tests
            copying numpy/polynomial/tests/test_hermite.py -> build/lib.macosx-12.2-arm64-3.9/numpy/polynomial/tests
            copying numpy/polynomial/tests/test_classes.py -> build/lib.macosx-12.2-arm64-3.9/numpy/polynomial/tests
            copying numpy/polynomial/tests/test_polyutils.py -> build/lib.macosx-12.2-arm64-3.9/numpy/polynomial/tests
            creating build/lib.macosx-12.2-arm64-3.9/numpy/random
            copying numpy/random/_pickle.py -> build/lib.macosx-12.2-arm64-3.9/numpy/random
            copying numpy/random/__init__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/random
            copying numpy/random/setup.py -> build/lib.macosx-12.2-arm64-3.9/numpy/random
            creating build/lib.macosx-12.2-arm64-3.9/numpy/random/tests
            copying numpy/random/tests/test_generator_mt19937.py -> build/lib.macosx-12.2-arm64-3.9/numpy/random/tests
            copying numpy/random/tests/test_randomstate.py -> build/lib.macosx-12.2-arm64-3.9/numpy/random/tests
            copying numpy/random/tests/test_direct.py -> build/lib.macosx-12.2-arm64-3.9/numpy/random/tests
            copying numpy/random/tests/test_extending.py -> build/lib.macosx-12.2-arm64-3.9/numpy/random/tests
            copying numpy/random/tests/__init__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/random/tests
            copying numpy/random/tests/test_smoke.py -> build/lib.macosx-12.2-arm64-3.9/numpy/random/tests
            copying numpy/random/tests/test_randomstate_regression.py -> build/lib.macosx-12.2-arm64-3.9/numpy/random/tests
            copying numpy/random/tests/test_seed_sequence.py -> build/lib.macosx-12.2-arm64-3.9/numpy/random/tests
            copying numpy/random/tests/test_generator_mt19937_regressions.py -> build/lib.macosx-12.2-arm64-3.9/numpy/random/tests
            copying numpy/random/tests/test_random.py -> build/lib.macosx-12.2-arm64-3.9/numpy/random/tests
            copying numpy/random/tests/test_regression.py -> build/lib.macosx-12.2-arm64-3.9/numpy/random/tests
            creating build/lib.macosx-12.2-arm64-3.9/numpy/testing
            copying numpy/testing/__init__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/testing
            copying numpy/testing/setup.py -> build/lib.macosx-12.2-arm64-3.9/numpy/testing
            copying numpy/testing/utils.py -> build/lib.macosx-12.2-arm64-3.9/numpy/testing
            copying numpy/testing/print_coercion_tables.py -> build/lib.macosx-12.2-arm64-3.9/numpy/testing
            creating build/lib.macosx-12.2-arm64-3.9/numpy/testing/_private
            copying numpy/testing/_private/nosetester.py -> build/lib.macosx-12.2-arm64-3.9/numpy/testing/_private
            copying numpy/testing/_private/__init__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/testing/_private
            copying numpy/testing/_private/noseclasses.py -> build/lib.macosx-12.2-arm64-3.9/numpy/testing/_private
            copying numpy/testing/_private/utils.py -> build/lib.macosx-12.2-arm64-3.9/numpy/testing/_private
            copying numpy/testing/_private/parameterized.py -> build/lib.macosx-12.2-arm64-3.9/numpy/testing/_private
            copying numpy/testing/_private/decorators.py -> build/lib.macosx-12.2-arm64-3.9/numpy/testing/_private
            creating build/lib.macosx-12.2-arm64-3.9/numpy/testing/tests
            copying numpy/testing/tests/test_utils.py -> build/lib.macosx-12.2-arm64-3.9/numpy/testing/tests
            copying numpy/testing/tests/test_decorators.py -> build/lib.macosx-12.2-arm64-3.9/numpy/testing/tests
            copying numpy/testing/tests/__init__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/testing/tests
            copying numpy/testing/tests/test_doctesting.py -> build/lib.macosx-12.2-arm64-3.9/numpy/testing/tests
            creating build/lib.macosx-12.2-arm64-3.9/numpy/tests
            copying numpy/tests/test_warnings.py -> build/lib.macosx-12.2-arm64-3.9/numpy/tests
            copying numpy/tests/test_matlib.py -> build/lib.macosx-12.2-arm64-3.9/numpy/tests
            copying numpy/tests/test_ctypeslib.py -> build/lib.macosx-12.2-arm64-3.9/numpy/tests
            copying numpy/tests/test_numpy_version.py -> build/lib.macosx-12.2-arm64-3.9/numpy/tests
            copying numpy/tests/__init__.py -> build/lib.macosx-12.2-arm64-3.9/numpy/tests
            copying numpy/tests/test_reloading.py -> build/lib.macosx-12.2-arm64-3.9/numpy/tests
            copying numpy/tests/test_public_api.py -> build/lib.macosx-12.2-arm64-3.9/numpy/tests
            copying numpy/tests/test_scripts.py -> build/lib.macosx-12.2-arm64-3.9/numpy/tests
            running build_clib
            customize UnixCCompiler
            customize UnixCCompiler using new_build_clib
            building 'npymath' library
            compiling C sources
            C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include

            creating build/temp.macosx-12.2-arm64-3.9
            creating build/temp.macosx-12.2-arm64-3.9/numpy
            creating build/temp.macosx-12.2-arm64-3.9/numpy/core
            creating build/temp.macosx-12.2-arm64-3.9/numpy/core/src
            creating build/temp.macosx-12.2-arm64-3.9/numpy/core/src/npymath
            creating build/temp.macosx-12.2-arm64-3.9/build
            creating build/temp.macosx-12.2-arm64-3.9/build/src.macosx-12.2-arm64-3.9
            creating build/temp.macosx-12.2-arm64-3.9/build/src.macosx-12.2-arm64-3.9/numpy
            creating build/temp.macosx-12.2-arm64-3.9/build/src.macosx-12.2-arm64-3.9/numpy/core
            creating build/temp.macosx-12.2-arm64-3.9/build/src.macosx-12.2-arm64-3.9/numpy/core/src
            creating build/temp.macosx-12.2-arm64-3.9/build/src.macosx-12.2-arm64-3.9/numpy/core/src/npymath
            compile options: '-Ibuild/src.macosx-12.2-arm64-3.9/numpy/core/src/npymath -Inumpy/core/include -Ibuild/src.macosx-12.2-arm64-3.9/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/Users/ganesh/projects/MLops/mlops-course/venv/include -I/Users/ganesh/.pyenv/versions/3.9.1/include/python3.9 -Ibuild/src.macosx-12.2-arm64-3.9/numpy/core/src/common -Ibuild/src.macosx-12.2-arm64-3.9/numpy/core/src/npymath -c'
            clang: numpy/core/src/npymath/npy_math.c
            clang: build/src.macosx-12.2-arm64-3.9/numpy/core/src/npymath/npy_math_complex.c
            clang: build/src.macosx-12.2-arm64-3.9/numpy/core/src/npymath/ieee754.c
            clang: numpy/core/src/npymath/halffloat.c
            In file included from numpy/core/src/npymath/npy_math.c:9:
            numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: incompatible pointer types passing 'npy_longdouble *' (aka 'double *') to parameter of type 'long double *' [-Wincompatible-pointer-types]
                return modfl(x, iptr);
                                ^~~~
            /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:394:52: note: passing argument to parameter here
            extern long double modfl(long double, long double *);
                                                               ^
            1 warning generated.
            ar: adding 4 object files to build/temp.macosx-12.2-arm64-3.9/libnpymath.a
            ranlib:@ build/temp.macosx-12.2-arm64-3.9/libnpymath.a
            building 'npysort' library
            compiling C sources
            C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include

            creating build/temp.macosx-12.2-arm64-3.9/build/src.macosx-12.2-arm64-3.9/numpy/core/src/npysort
            compile options: '-Ibuild/src.macosx-12.2-arm64-3.9/numpy/core/src/common -Inumpy/core/include -Ibuild/src.macosx-12.2-arm64-3.9/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/Users/ganesh/projects/MLops/mlops-course/venv/include -I/Users/ganesh/.pyenv/versions/3.9.1/include/python3.9 -Ibuild/src.macosx-12.2-arm64-3.9/numpy/core/src/common -Ibuild/src.macosx-12.2-arm64-3.9/numpy/core/src/npymath -c'
            clang: build/src.macosx-12.2-arm64-3.9/numpy/core/src/npysort/quicksort.c
            clang: build/src.macosx-12.2-arm64-3.9/numpy/core/src/npysort/mergesort.c
            clang: build/src.macosx-12.2-arm64-3.9/numpy/core/src/npysort/timsort.c
            clang: build/src.macosx-12.2-arm64-3.9/numpy/core/src/npysort/heapsort.c
            clang: build/src.macosx-12.2-arm64-3.9/numpy/core/src/npysort/radixsort.c
            clang: build/src.macosx-12.2-arm64-3.9/numpy/core/src/npysort/selection.c
            clang: build/src.macosx-12.2-arm64-3.9/numpy/core/src/npysort/binsearch.c
            numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
                    npy_intp k;
                    ^~~~~~~~~~~
            numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
                else if (0 && kth == num - 1) {
                         ^
                         /* DISABLES CODE */ ( )
            numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
                    npy_intp k;
                    ^~~~~~~~~~~
            numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
                else if (0 && kth == num - 1) {
                         ^
                         /* DISABLES CODE */ ( )
            numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
                    npy_intp k;
                    ^~~~~~~~~~~
            numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
                else if (0 && kth == num - 1) {
                         ^
                         /* DISABLES CODE */ ( )
            numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
                    npy_intp k;
                    ^~~~~~~~~~~
            numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
                else if (0 && kth == num - 1) {
                         ^
                         /* DISABLES CODE */ ( )
            numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
                    npy_intp k;
                    ^~~~~~~~~~~
            numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
                else if (0 && kth == num - 1) {
                         ^
                         /* DISABLES CODE */ ( )
            numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
                    npy_intp k;
                    ^~~~~~~~~~~
            numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
                else if (0 && kth == num - 1) {
                         ^
                         /* DISABLES CODE */ ( )
            numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
                    npy_intp k;
                    ^~~~~~~~~~~
            numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
                else if (0 && kth == num - 1) {
                         ^
                         /* DISABLES CODE */ ( )
            numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
                    npy_intp k;
                    ^~~~~~~~~~~
            numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
                else if (0 && kth == num - 1) {
                         ^
                         /* DISABLES CODE */ ( )
            numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
                    npy_intp k;
                    ^~~~~~~~~~~
            numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
                else if (0 && kth == num - 1) {
                         ^
                         /* DISABLES CODE */ ( )
            numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
                    npy_intp k;
                    ^~~~~~~~~~~
            numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
                else if (0 && kth == num - 1) {
                         ^
                         /* DISABLES CODE */ ( )
            numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
                    npy_intp k;
                    ^~~~~~~~~~~
            numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
                else if (0 && kth == num - 1) {
                         ^
                         /* DISABLES CODE */ ( )
            numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
                    npy_intp k;
                    ^~~~~~~~~~~
            numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
                else if (0 && kth == num - 1) {
                         ^
                         /* DISABLES CODE */ ( )
            numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
                    npy_intp k;
                    ^~~~~~~~~~~
            numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
                else if (0 && kth == num - 1) {
                         ^
                         /* DISABLES CODE */ ( )
            numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
                    npy_intp k;
                    ^~~~~~~~~~~
            numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
                else if (0 && kth == num - 1) {
                         ^
                         /* DISABLES CODE */ ( )
            numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
                    npy_intp k;
                    ^~~~~~~~~~~
            numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
                else if (0 && kth == num - 1) {
                         ^
                         /* DISABLES CODE */ ( )
            numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
                    npy_intp k;
                    ^~~~~~~~~~~
            numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
                else if (0 && kth == num - 1) {
                         ^
                         /* DISABLES CODE */ ( )
            numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
                    npy_intp k;
                    ^~~~~~~~~~~
            numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
                else if (0 && kth == num - 1) {
                         ^
                         /* DISABLES CODE */ ( )
            numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
                    npy_intp k;
                    ^~~~~~~~~~~
            numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
                else if (0 && kth == num - 1) {
                         ^
                         /* DISABLES CODE */ ( )
            numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
                    npy_intp k;
                    ^~~~~~~~~~~
            numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
                else if (0 && kth == num - 1) {
                         ^
                         /* DISABLES CODE */ ( )
            numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
                    npy_intp k;
                    ^~~~~~~~~~~
            numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
                else if (0 && kth == num - 1) {
                         ^
                         /* DISABLES CODE */ ( )
            numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
                    npy_intp k;
                    ^~~~~~~~~~~
            numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
                else if (0 && kth == num - 1) {
                         ^
                         /* DISABLES CODE */ ( )
            numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
                    npy_intp k;
                    ^~~~~~~~~~~
            numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
                else if (0 && kth == num - 1) {
                         ^
                         /* DISABLES CODE */ ( )
            22 warnings generated.
            ar: adding 7 object files to build/temp.macosx-12.2-arm64-3.9/libnpysort.a
            ranlib:@ build/temp.macosx-12.2-arm64-3.9/libnpysort.a
            building 'npyrandom' library
            compiling C sources
            C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include

            creating build/temp.macosx-12.2-arm64-3.9/numpy/random
            creating build/temp.macosx-12.2-arm64-3.9/numpy/random/src
            creating build/temp.macosx-12.2-arm64-3.9/numpy/random/src/distributions
            compile options: '-Inumpy/core/include -Ibuild/src.macosx-12.2-arm64-3.9/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/Users/ganesh/projects/MLops/mlops-course/venv/include -I/Users/ganesh/.pyenv/versions/3.9.1/include/python3.9 -Ibuild/src.macosx-12.2-arm64-3.9/numpy/core/src/common -Ibuild/src.macosx-12.2-arm64-3.9/numpy/core/src/npymath -c'
            clang: numpy/random/src/distributions/distributions.c
            clang: numpy/random/src/distributions/random_mvhg_count.c
            clang: numpy/random/src/distributions/logfactorial.c
            clang: numpy/random/src/distributions/random_mvhg_marginals.c
            clang: numpy/random/src/distributions/random_hypergeometric.c
            ar: adding 5 object files to build/temp.macosx-12.2-arm64-3.9/libnpyrandom.a
            ranlib:@ build/temp.macosx-12.2-arm64-3.9/libnpyrandom.a
            running build_ext
            customize UnixCCompiler
            customize UnixCCompiler using new_build_ext
            building 'numpy.core._multiarray_tests' extension
            compiling C sources
            C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include

            creating build/temp.macosx-12.2-arm64-3.9/build/src.macosx-12.2-arm64-3.9/numpy/core/src/multiarray
            creating build/temp.macosx-12.2-arm64-3.9/numpy/core/src/common
            compile options: '-DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Inumpy/core/include -Ibuild/src.macosx-12.2-arm64-3.9/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/Users/ganesh/projects/MLops/mlops-course/venv/include -I/Users/ganesh/.pyenv/versions/3.9.1/include/python3.9 -Ibuild/src.macosx-12.2-arm64-3.9/numpy/core/src/common -Ibuild/src.macosx-12.2-arm64-3.9/numpy/core/src/npymath -c'
            clang: build/src.macosx-12.2-arm64-3.9/numpy/core/src/multiarray/_multiarray_tests.c
            clang: numpy/core/src/common/mem_overlap.c
            In file included from numpy/core/src/multiarray/_multiarray_tests.c.src:7:
            In file included from numpy/core/include/numpy/npy_math.h:596:
            numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: incompatible pointer types passing 'npy_longdouble *' (aka 'double *') to parameter of type 'long double *' [-Wincompatible-pointer-types]
                return modfl(x, iptr);
                                ^~~~
            /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:394:52: note: passing argument to parameter here
            extern long double modfl(long double, long double *);
                                                               ^
            numpy/core/src/multiarray/_multiarray_tests.c.src:1895:61: warning: format specifies type 'long double' but the argument has type 'npy_longdouble' (aka 'double') [-Wformat]
                    PyOS_snprintf(str, sizeof(str), "%.*Lg", precision, x);
                                                     ~~~~~              ^
                                                     %.*g
            2 warnings generated.
            clang -bundle -undefined dynamic_lookup -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/ganesh/.pyenv/versions/3.9.1/lib -Wl,-rpath,/Users/ganesh/.pyenv/versions/3.9.1/lib -L/opt/homebrew/lib -Wl,-rpath,/opt/homebrew/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/ganesh/.pyenv/versions/3.9.1/lib -Wl,-rpath,/Users/ganesh/.pyenv/versions/3.9.1/lib -L/opt/homebrew/lib -Wl,-rpath,/opt/homebrew/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib build/temp.macosx-12.2-arm64-3.9/build/src.macosx-12.2-arm64-3.9/numpy/core/src/multiarray/_multiarray_tests.o build/temp.macosx-12.2-arm64-3.9/numpy/core/src/common/mem_overlap.o -L/Users/ganesh/.pyenv/versions/3.9.1/lib -Lbuild/temp.macosx-12.2-arm64-3.9 -lnpymath -o build/lib.macosx-12.2-arm64-3.9/numpy/core/_multiarray_tests.cpython-39-darwin.so
            building 'numpy.core._multiarray_umath' extension
            compiling C sources
            C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include

            creating build/temp.macosx-12.2-arm64-3.9/numpy/core/src/multiarray
            creating build/temp.macosx-12.2-arm64-3.9/numpy/core/src/umath
            creating build/temp.macosx-12.2-arm64-3.9/build/src.macosx-12.2-arm64-3.9/numpy/core/src/umath
            creating build/temp.macosx-12.2-arm64-3.9/build/src.macosx-12.2-arm64-3.9/numpy/core/src/common
            creating build/temp.macosx-12.2-arm64-3.9/private
            creating build/temp.macosx-12.2-arm64-3.9/private/var
            creating build/temp.macosx-12.2-arm64-3.9/private/var/folders
            creating build/temp.macosx-12.2-arm64-3.9/private/var/folders/lr
            creating build/temp.macosx-12.2-arm64-3.9/private/var/folders/lr/kttzhtzs6xvcpkq5qn35hyc40000gn
            creating build/temp.macosx-12.2-arm64-3.9/private/var/folders/lr/kttzhtzs6xvcpkq5qn35hyc40000gn/T
            creating build/temp.macosx-12.2-arm64-3.9/private/var/folders/lr/kttzhtzs6xvcpkq5qn35hyc40000gn/T/pip-install-6j0_z4fy
            creating build/temp.macosx-12.2-arm64-3.9/private/var/folders/lr/kttzhtzs6xvcpkq5qn35hyc40000gn/T/pip-install-6j0_z4fy/numpy_1c7d91ad5c484419a9b45629e3390b9c
            creating build/temp.macosx-12.2-arm64-3.9/private/var/folders/lr/kttzhtzs6xvcpkq5qn35hyc40000gn/T/pip-install-6j0_z4fy/numpy_1c7d91ad5c484419a9b45629e3390b9c/numpy
            creating build/temp.macosx-12.2-arm64-3.9/private/var/folders/lr/kttzhtzs6xvcpkq5qn35hyc40000gn/T/pip-install-6j0_z4fy/numpy_1c7d91ad5c484419a9b45629e3390b9c/numpy/_build_utils
            creating build/temp.macosx-12.2-arm64-3.9/private/var/folders/lr/kttzhtzs6xvcpkq5qn35hyc40000gn/T/pip-install-6j0_z4fy/numpy_1c7d91ad5c484419a9b45629e3390b9c/numpy/_build_utils/src
            compile options: '-DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -DNO_ATLAS_INFO=3 -DHAVE_CBLAS -Ibuild/src.macosx-12.2-arm64-3.9/numpy/core/src/umath -Ibuild/src.macosx-12.2-arm64-3.9/numpy/core/src/npymath -Ibuild/src.macosx-12.2-arm64-3.9/numpy/core/src/common -Inumpy/core/include -Ibuild/src.macosx-12.2-arm64-3.9/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/Users/ganesh/projects/MLops/mlops-course/venv/include -I/Users/ganesh/.pyenv/versions/3.9.1/include/python3.9 -Ibuild/src.macosx-12.2-arm64-3.9/numpy/core/src/common -Ibuild/src.macosx-12.2-arm64-3.9/numpy/core/src/npymath -c'
            extra options: '-faltivec -I/System/Library/Frameworks/vecLib.framework/Headers'
            clang: numpy/core/src/multiarray/array_assign_scalar.c
            clang: numpy/core/src/multiarray/alloc.c
            clang: numpy/core/src/multiarray/buffer.c
            clang: numpy/core/src/multiarray/common.c
            clang: numpy/core/src/multiarray/conversion_utils.c
            clang: numpy/core/src/multiarray/datetime_strings.c
            clang: numpy/core/src/multiarray/descriptor.c
            clang: build/src.macosx-12.2-arm64-3.9/numpy/core/src/multiarray/einsum.c
            clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
            clang: numpy/core/src/multiarray/hashdescr.c
            clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
            clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
            clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
            clang: build/src.macosx-12.2-arm64-3.9/numpy/core/src/multiarray/lowlevel_strided_loops.c
            clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
            clang: numpy/core/src/multiarray/multiarraymodule.c
            clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
            clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
            clang: numpy/core/src/multiarray/refcount.c
            clang: numpy/core/src/multiarray/scalarapi.c
            clang: numpy/core/src/multiarray/nditer_constr.c
            clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
            clang: numpy/core/src/multiarray/vdot.c
            clang: numpy/core/src/multiarray/temp_elide.c
            clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
            clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
            clang: build/src.macosx-12.2-arm64-3.9/numpy/core/src/umath/loops.c
            clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
            clang: numpy/core/src/umath/ufunc_type_resolution.c
            clang: numpy/core/src/umath/ufunc_object.c
            clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
            clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
            clang: build/src.macosx-12.2-arm64-3.9/numpy/core/src/npymath/ieee754.c
            clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
            clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
            clang: numpy/core/src/common/array_assign.c
            clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
            clang: numpy/core/src/common/ucsnarrow.c
            clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
            clang: /private/var/folders/lr/kttzhtzs6xvcpkq5qn35hyc40000gn/T/pip-install-6j0_z4fy/numpy_1c7d91ad5c484419a9b45629e3390b9c/numpy/_build_utils/src/apple_sgemv_fix.c
            clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
            clang: build/src.macosx-12.2-arm64-3.9/numpy/core/src/common/npy_cpu_features.c
            clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
            clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
            clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
            clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
            clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
            clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
            error: Command "clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -DNO_ATLAS_INFO=3 -DHAVE_CBLAS -Ibuild/src.macosx-12.2-arm64-3.9/numpy/core/src/umath -Ibuild/src.macosx-12.2-arm64-3.9/numpy/core/src/npymath -Ibuild/src.macosx-12.2-arm64-3.9/numpy/core/src/common -Inumpy/core/include -Ibuild/src.macosx-12.2-arm64-3.9/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/Users/ganesh/projects/MLops/mlops-course/venv/include -I/Users/ganesh/.pyenv/versions/3.9.1/include/python3.9 -Ibuild/src.macosx-12.2-arm64-3.9/numpy/core/src/common -Ibuild/src.macosx-12.2-arm64-3.9/numpy/core/src/npymath -c numpy/core/src/multiarray/common.c -o build/temp.macosx-12.2-arm64-3.9/numpy/core/src/multiarray/common.o -MMD -MF build/temp.macosx-12.2-arm64-3.9/numpy/core/src/multiarray/common.o.d -faltivec -I/System/Library/Frameworks/vecLib.framework/Headers" 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
      Failed to build numpy
      ERROR: Could not build wheels for numpy, 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.

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

The issue looks similar to this issue from the scikit-learn project, but it seems to have been resolved. I might still be doing something wrong, please let me know. Thank you.

GokuMohandas commented 1 year ago

Hey @tataganesh, thanks for providing this. If you try to create a separate virtual environment and download this version of scikit-learn and numpy, you'll see the same errors. Check out this thread (and the related GitHub issues that are referenced) as it's an issue specific to M1. If this doesn't work, the easiest solution is to use conda or work with Docker. https://github.com/scikit-learn/scikit-learn/issues/19137

These dependency issues are a nightmare across different devices/versions! I'm working to get a version of the course that runs on a predefined cluster so this friction around setup is removed. Hoping to get that out by this summer (with lot's more updates coming).

tataganesh commented 1 year ago

@GokuMohandas Thank you for the wonderful suggestions! After a lot of attempts, here is what worked with python 3.9.1.

This seems to have resolved all dependency conflicts. I am hoping that these version changes do not cause any issues, fingers crossed!

GokuMohandas commented 1 year ago

Oh wow updating to these versions resolved the subprocess issues? or did you have to do something before?

tataganesh commented 1 year ago

@GokuMohandas I did try a few things with openblas as indicated in the threads you mentioned, but none of them worked. Just doing this change somehow resolved all issues, not sure how though.

GokuMohandas commented 1 year ago

I'll try out these versions this week and push the updates. Thanks for the help figuring this out @tataganesh!