AttributeError with pip install Numba

I am using homebrew python3.9.7 version and trying to installing numba on my new Mac. While installing, error message shows AttributeError in the last line. How can I solve this error. (P.S I am using pip 20.3.1 version, and Numpy 1.21.3 version.)

Collecting numba
  Using cached numba-0.54.1.tar.gz (2.2 MB)
  Preparing metadata (setup.py) ... done
Collecting llvmlite<0.38,>=0.37.0rc1
  Using cached llvmlite-0.37.0.tar.gz (125 kB)
  Preparing metadata (setup.py) ... done
Collecting numpy<1.21,>=1.17
  Using cached numpy-1.20.3.zip (7.8 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  ERROR: Command errored out with exit status 1:
   command: /opt/homebrew/opt/python@3.9/bin/python3.9 /opt/homebrew/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/d3/5d0sj2951h7_rrv1m6_8zlfw0000gn/T/tmpejce9_ux
       cwd: /private/var/folders/d3/5d0sj2951h7_rrv1m6_8zlfw0000gn/T/pip-install-rpl0zv7y/numpy_99c50f1a111f4148a014be4264f02cf3
  Complete output (299 lines):
  Running from numpy source directory.
  setup.py:485: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
    run_build = parse_setuppy_commands()
  Processing numpy/random/_bounded_integers.pxd.in
  Processing numpy/random/_philox.pyx
  Processing numpy/random/_bounded_integers.pyx.in
  Processing numpy/random/_sfc64.pyx
  Processing numpy/random/_mt19937.pyx
  Processing numpy/random/bit_generator.pyx
  Processing numpy/random/mtrand.pyx
  Processing numpy/random/_generator.pyx
  Processing numpy/random/_pcg64.pyx
  Processing numpy/random/_common.pyx
  Cythonizing sources
  blas_opt_info:
  blas_mkl_info:
  customize UnixCCompiler
    libraries mkl_rt not found in ['/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
    NOT AVAILABLE
  
  blis_info:
    libraries blis not found in ['/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
    NOT AVAILABLE
  
  openblas_info:
    libraries openblas not found in ['/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
    NOT AVAILABLE
  
  atlas_3_10_blas_threads_info:
  Setting PTATLAS=ATLAS
    libraries tatlas not found in ['/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
    NOT AVAILABLE
  
  atlas_3_10_blas_info:
    libraries satlas not found in ['/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
    NOT AVAILABLE
  
  atlas_blas_threads_info:
  Setting PTATLAS=ATLAS
    libraries ptf77blas,ptcblas,atlas not found in ['/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
    NOT AVAILABLE
  
  atlas_blas_info:
    libraries f77blas,cblas,atlas not found in ['/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
    NOT AVAILABLE
  
  /private/var/folders/d3/5d0sj2951h7_rrv1m6_8zlfw0000gn/T/pip-install-rpl0zv7y/numpy_99c50f1a111f4148a014be4264f02cf3/numpy/distutils/system_info.py:1989: UserWarning:
      Optimized (vendor) Blas libraries are not found.
      Falls back to netlib Blas library which has worse performance.
      A better performance should be easily gained by switching
      Blas library.
    if self._calc_info(blas):
  blas_info:
    libraries blas not found in ['/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
    NOT AVAILABLE
  
  /private/var/folders/d3/5d0sj2951h7_rrv1m6_8zlfw0000gn/T/pip-install-rpl0zv7y/numpy_99c50f1a111f4148a014be4264f02cf3/numpy/distutils/system_info.py:1989: UserWarning:
      Blas (http://www.netlib.org/blas/) libraries not found.
      Directories to search for the libraries can be specified in the
      numpy/distutils/site.cfg file (section [blas]) or by setting
      the BLAS environment variable.
    if self._calc_info(blas):
  blas_src_info:
    NOT AVAILABLE
  
  /private/var/folders/d3/5d0sj2951h7_rrv1m6_8zlfw0000gn/T/pip-install-rpl0zv7y/numpy_99c50f1a111f4148a014be4264f02cf3/numpy/distutils/system_info.py:1989: UserWarning:
      Blas (http://www.netlib.org/blas/) sources not found.
      Directories to search for the sources can be specified in the
      numpy/distutils/site.cfg file (section [blas_src]) or by setting
      the BLAS_SRC environment variable.
    if self._calc_info(blas):
    NOT AVAILABLE
  
  non-existing path in 'numpy/distutils': 'site.cfg'
  lapack_opt_info:
  lapack_mkl_info:
    libraries mkl_rt not found in ['/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
    NOT AVAILABLE
  
  openblas_lapack_info:
    libraries openblas not found in ['/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
    NOT AVAILABLE
  
  openblas_clapack_info:
    libraries openblas,lapack not found in ['/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
    NOT AVAILABLE
  
  flame_info:
    libraries flame not found in ['/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
    NOT AVAILABLE
  
  atlas_3_10_threads_info:
  Setting PTATLAS=ATLAS
    libraries lapack_atlas not found in /opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib
    libraries tatlas,tatlas not found in /opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/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 /opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib
    libraries satlas,satlas not found in /opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/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 /opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib
    libraries ptf77blas,ptcblas,atlas not found in /opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/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 /opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib
    libraries f77blas,cblas,atlas not found in /opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/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
  
  lapack_info:
    libraries lapack not found in ['/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
    NOT AVAILABLE
  
  /private/var/folders/d3/5d0sj2951h7_rrv1m6_8zlfw0000gn/T/pip-install-rpl0zv7y/numpy_99c50f1a111f4148a014be4264f02cf3/numpy/distutils/system_info.py:1849: UserWarning:
      Lapack (http://www.netlib.org/lapack/) libraries not found.
      Directories to search for the libraries can be specified in the
      numpy/distutils/site.cfg file (section [lapack]) or by setting
      the LAPACK environment variable.
    return getattr(self, '_calc_info_{}'.format(name))()
  lapack_src_info:
    NOT AVAILABLE
  
  /private/var/folders/d3/5d0sj2951h7_rrv1m6_8zlfw0000gn/T/pip-install-rpl0zv7y/numpy_99c50f1a111f4148a014be4264f02cf3/numpy/distutils/system_info.py:1849: UserWarning:
      Lapack (http://www.netlib.org/lapack/) sources not found.
      Directories to search for the sources can be specified in the
      numpy/distutils/site.cfg file (section [lapack_src]) or by setting
      the LAPACK_SRC environment variable.
    return getattr(self, '_calc_info_{}'.format(name))()
    NOT AVAILABLE
  
  numpy_linalg_lapack_lite:
    FOUND:
      language = c
      define_macros = [('HAVE_BLAS_ILP64', None), ('BLAS_SYMBOL_SUFFIX', '64_')]
  
  /opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
    warnings.warn(msg)
  running dist_info
  running build_src
  build_src
  building py_modules sources
  creating build
  creating build/src.macosx-12-arm64-3.9
  creating build/src.macosx-12-arm64-3.9/numpy
  creating build/src.macosx-12-arm64-3.9/numpy/distutils
  building library "npymath" sources
  creating build/src.macosx-12-arm64-3.9/numpy/core
  creating build/src.macosx-12-arm64-3.9/numpy/core/src
  creating build/src.macosx-12-arm64-3.9/numpy/core/src/npymath
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/npymath/npy_math_internal.h
    adding 'build/src.macosx-12-arm64-3.9/numpy/core/src/npymath' to include_dirs.
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/npymath/ieee754.c
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/npymath/npy_math_complex.c
  None - nothing done with h_files = ['build/src.macosx-12-arm64-3.9/numpy/core/src/npymath/npy_math_internal.h']
  building library "npyrandom" sources
  building extension "numpy.core._multiarray_tests" sources
  creating build/src.macosx-12-arm64-3.9/numpy/core/src/multiarray
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/multiarray/_multiarray_tests.c
  building extension "numpy.core._multiarray_umath" sources
  non-existing path in 'numpy/core': 'build/src.macosx-12-arm64-3.9/numpy/core/src/common'
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/multiarray/arraytypes.c
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/multiarray/einsum.c
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/multiarray/einsum_sumprod.c
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/multiarray/lowlevel_strided_loops.c
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/multiarray/nditer_templ.c
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/multiarray/scalartypes.c
  creating build/src.macosx-12-arm64-3.9/numpy/core/src/common
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/common/npy_sort.h
    adding 'build/src.macosx-12-arm64-3.9/numpy/core/src/common' to include_dirs.
  creating build/src.macosx-12-arm64-3.9/numpy/core/src/npysort
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/npysort/quicksort.c
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/npysort/mergesort.c
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/npysort/timsort.c
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/npysort/heapsort.c
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/npysort/radixsort.c
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/common/npy_partition.h
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/npysort/selection.c
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/common/npy_binsearch.h
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/npysort/binsearch.c
  creating build/src.macosx-12-arm64-3.9/numpy/core/src/umath
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/umath/funcs.inc
    adding 'build/src.macosx-12-arm64-3.9/numpy/core/src/umath' to include_dirs.
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/umath/simd.inc
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/umath/loops.h
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/umath/loops.c
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/umath/loops_unary_fp.dispatch.c
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/umath/matmul.h
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/umath/matmul.c
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/umath/clip.h
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/umath/clip.c
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/umath/scalarmath.c
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/common/templ_common.h
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/common/npy_cpu_features.c
  numpy.core - nothing done with h_files = ['build/src.macosx-12-arm64-3.9/numpy/core/src/common/npy_sort.h', 'build/src.macosx-12-arm64-3.9/numpy/core/src/common/npy_partition.h', 'build/src.macosx-12-arm64-3.9/numpy/core/src/common/npy_binsearch.h', 'build/src.macosx-12-arm64-3.9/numpy/core/src/umath/funcs.inc', 'build/src.macosx-12-arm64-3.9/numpy/core/src/umath/simd.inc', 'build/src.macosx-12-arm64-3.9/numpy/core/src/umath/loops.h', 'build/src.macosx-12-arm64-3.9/numpy/core/src/umath/matmul.h', 'build/src.macosx-12-arm64-3.9/numpy/core/src/umath/clip.h', 'build/src.macosx-12-arm64-3.9/numpy/core/src/common/templ_common.h', 'build/src.macosx-12-arm64-3.9/numpy/core/include/numpy/config.h', 'build/src.macosx-12-arm64-3.9/numpy/core/include/numpy/_numpyconfig.h', 'build/src.macosx-12-arm64-3.9/numpy/core/include/numpy/__multiarray_api.h', 'build/src.macosx-12-arm64-3.9/numpy/core/include/numpy/__ufunc_api.h']
  building extension "numpy.core._umath_tests" sources
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/umath/_umath_tests.c
  building extension "numpy.core._rational_tests" sources
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/umath/_rational_tests.c
  building extension "numpy.core._struct_ufunc_tests" sources
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/umath/_struct_ufunc_tests.c
  building extension "numpy.core._operand_flag_tests" sources
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/umath/_operand_flag_tests.c
  building extension "numpy.core._simd" sources
  creating build/src.macosx-12-arm64-3.9/numpy/core/src/_simd
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/_simd/_simd_inc.h
    adding 'build/src.macosx-12-arm64-3.9/numpy/core/src/_simd' to include_dirs.
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/_simd/_simd_data.inc
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/core/src/_simd/_simd.dispatch.c
  numpy.core - nothing done with h_files = ['build/src.macosx-12-arm64-3.9/numpy/core/src/_simd/_simd_inc.h', 'build/src.macosx-12-arm64-3.9/numpy/core/src/_simd/_simd_data.inc']
  building extension "numpy.fft._pocketfft_internal" sources
  building extension "numpy.linalg.lapack_lite" sources
  creating build/src.macosx-12-arm64-3.9/numpy/linalg
  ### Warning:  Using unoptimized lapack ###
  building extension "numpy.linalg._umath_linalg" sources
  ### Warning:  Using unoptimized lapack ###
  conv_template:> build/src.macosx-12-arm64-3.9/numpy/linalg/umath_linalg.c
  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
  /opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
    warnings.warn(
  creating /private/var/folders/d3/5d0sj2951h7_rrv1m6_8zlfw0000gn/T/pip-modern-metadata-2fdyoy8x/numpy.egg-info
  writing /private/var/folders/d3/5d0sj2951h7_rrv1m6_8zlfw0000gn/T/pip-modern-metadata-2fdyoy8x/numpy.egg-info/PKG-INFO
  writing dependency_links to /private/var/folders/d3/5d0sj2951h7_rrv1m6_8zlfw0000gn/T/pip-modern-metadata-2fdyoy8x/numpy.egg-info/dependency_links.txt
  writing entry points to /private/var/folders/d3/5d0sj2951h7_rrv1m6_8zlfw0000gn/T/pip-modern-metadata-2fdyoy8x/numpy.egg-info/entry_points.txt
  writing top-level names to /private/var/folders/d3/5d0sj2951h7_rrv1m6_8zlfw0000gn/T/pip-modern-metadata-2fdyoy8x/numpy.egg-info/top_level.txt
  writing manifest file '/private/var/folders/d3/5d0sj2951h7_rrv1m6_8zlfw0000gn/T/pip-modern-metadata-2fdyoy8x/numpy.egg-info/SOURCES.txt'
  Traceback (most recent call last):
    File "/opt/homebrew/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
      main()
    File "/opt/homebrew/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/opt/homebrew/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 164, in prepare_metadata_for_build_wheel
      return hook(metadata_directory, config_settings)
    File "/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/setuptools/build_meta.py", line 174, in prepare_metadata_for_build_wheel
      self.run_setup()
    File "/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/setuptools/build_meta.py", line 267, in run_setup
      super(_BuildMetaLegacyBackend,
    File "/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/setuptools/build_meta.py", line 158, in run_setup
      exec(compile(code, __file__, 'exec'), locals())
    File "setup.py", line 513, in <module>
      setup_package()
    File "setup.py", line 505, in setup_package
      setup(**metadata)
    File "/private/var/folders/d3/5d0sj2951h7_rrv1m6_8zlfw0000gn/T/pip-install-rpl0zv7y/numpy_99c50f1a111f4148a014be4264f02cf3/numpy/distutils/core.py", line 169, in setup
      return old_setup(**new_attr)
    File "/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/setuptools/__init__.py", line 159, in setup
      return distutils.core.setup(**attrs)
    File "/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/setuptools/command/dist_info.py", line 31, in run
      egg_info.run()
    File "/private/var/folders/d3/5d0sj2951h7_rrv1m6_8zlfw0000gn/T/pip-install-rpl0zv7y/numpy_99c50f1a111f4148a014be4264f02cf3/numpy/distutils/command/egg_info.py", line 25, in run
      _egg_info.run(self)
    File "/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 299, in run
      self.find_sources()
    File "/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 306, in find_sources
      mm.run()
    File "/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 541, in run
      self.add_defaults()
    File "/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 578, in add_defaults
      sdist.add_defaults(self)
    File "/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/command/sdist.py", line 226, in add_defaults
      self._add_defaults_python()
    File "/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/setuptools/command/sdist.py", line 113, in _add_defaults_python
      self._add_data_files(self._safe_data_files(build_py))
    File "/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 621, in _safe_data_files
      return build_py.get_data_files_without_manifest()
    File "/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/cmd.py", line 103, in __getattr__
      raise AttributeError(attr)
  AttributeError: get_data_files_without_manifest

@NLCPhysics thank you for asking about this. The error you are seeing is coming from an attempt to compile and install Numpy, not Numba? This is probably due to Numpy being a dependency of Numba. I also notices that you mention a “new Mac”. Is this an M1 architecture? In this case, the only link I could find is: Development packages/RCs for Apple M1 (`osx-arm64`) · Issue #6734 · numba/numba · GitHub – which tracks the official Numba support for that hardware. I think there may be some ways to use conda-forge to get Numba on M1, so perhaps someone else with more experience on this topic could chime in.