title: Can't install numba on Python 3.10
body: <p>Python 3.10 on Mac running OS 11.6.1</p>
  <p>I uninstalled Python 3.9 from my machine and upgraded to version 3.10. No problems installing standard packages such as pandas, scipy, etc. However one package, epycom, requires numba.</p>
  <p>When I enter <code>pip3 install numba</code>, I receive the lengthy error message below with the key phrase <code>FileNotFoundError: [Errno 2] No such file or directory: 'llvm-config'</code></p>
  <p>Wondering if I should uninstall 3.10 and go back to 3.9?</p>
  <pre><code>Collecting numba
    Using cached numba-0.51.2.tar.gz (2.1 MB)
    Preparing metadata (setup.py) ... done
  Collecting llvmlite&lt;0.35,&gt;=0.34.0.dev0
    Using cached llvmlite-0.34.0.tar.gz (107 kB)
    Preparing metadata (setup.py) ... done
  Requirement already satisfied: numpy&gt;=1.15 in /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages (from numba) (1.22.0)
  Requirement already satisfied: setuptools in /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages (from numba) (58.1.0)
  Using legacy 'setup.py install' for numba, since package 'wheel' is not installed.
  Using legacy 'setup.py install' for llvmlite, since package 'wheel' is not installed.
  Installing collected packages: llvmlite, numba
      Running setup.py install for llvmlite ... error
      ERROR: Command errored out with exit status 1:
       command: /Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '&quot;'&quot;'/private/var/folders/6j/xqx91xb15wl81pcnf33255bct7pzn4/T/pip-install-42hw6q4a/llvmlite_a0abee749e71467a998628e47a3a1a24/setup.py'&quot;'&quot;'; __file__='&quot;'&quot;'/private/var/folders/6j/xqx91xb15wl81pcnf33255bct7pzn4/T/pip-install-42hw6q4a/llvmlite_a0abee749e71467a998628e47a3a1a24/setup.py'&quot;'&quot;';f = getattr(tokenize, '&quot;'&quot;'open'&quot;'&quot;', open)(__file__) if os.path.exists(__file__) else io.StringIO('&quot;'&quot;'from setuptools import setup; setup()'&quot;'&quot;');code = f.read().replace('&quot;'&quot;'\r\n'&quot;'&quot;', '&quot;'&quot;'\n'&quot;'&quot;');f.close();exec(compile(code, __file__, '&quot;'&quot;'exec'&quot;'&quot;'))' install --record /private/var/folders/6j/xqx91xb15wl81pcnf33255bct7pzn4/T/pip-record-6u_7985j/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/llvmlite
           cwd: /private/var/folders/6j/xqx91xb15wl81pcnf33255bct7pzn4/T/pip-install-42hw6q4a/llvmlite_a0abee749e71467a998628e47a3a1a24/
      Complete output (29 lines):
      running install
      running build
      got version from file /private/var/folders/6j/xqx91xb15wl81pcnf33255bct7pzn4/T/pip-install-42hw6q4a/llvmlite_a0abee749e71467a998628e47a3a1a24/llvmlite/_version.py {'version': '0.34.0', 'full': 'c5889c9e98c6b19d5d85ebdd982d64a03931f8e2'}
      running build_ext
      /Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 /private/var/folders/6j/xqx91xb15wl81pcnf33255bct7pzn4/T/pip-install-42hw6q4a/llvmlite_a0abee749e71467a998628e47a3a1a24/ffi/build.py
      LLVM version... Traceback (most recent call last):
        File &quot;/private/var/folders/6j/xqx91xb15wl81pcnf33255bct7pzn4/T/pip-install-42hw6q4a/llvmlite_a0abee749e71467a998628e47a3a1a24/ffi/build.py&quot;, line 105, in main_posix
          out = subprocess.check_output([llvm_config, '--version'])
        File &quot;/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py&quot;, line 420, in check_output
          return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
        File &quot;/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py&quot;, line 501, in run
          with Popen(*popenargs, **kwargs) as process:
        File &quot;/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py&quot;, line 966, in __init__
          self._execute_child(args, executable, preexec_fn, close_fds,
        File &quot;/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py&quot;, line 1842, in _execute_child
          raise child_exception_type(errno_num, err_msg, err_filename)
      FileNotFoundError: [Errno 2] No such file or directory: 'llvm-config'
      
      During handling of the above exception, another exception occurred:
      
      Traceback (most recent call last):
        File &quot;/private/var/folders/6j/xqx91xb15wl81pcnf33255bct7pzn4/T/pip-install-42hw6q4a/llvmlite_a0abee749e71467a998628e47a3a1a24/ffi/build.py&quot;, line 191, in &lt;module&gt;
          main()
        File &quot;/private/var/folders/6j/xqx91xb15wl81pcnf33255bct7pzn4/T/pip-install-42hw6q4a/llvmlite_a0abee749e71467a998628e47a3a1a24/ffi/build.py&quot;, line 185, in main
          main_posix('osx', '.dylib')
        File &quot;/private/var/folders/6j/xqx91xb15wl81pcnf33255bct7pzn4/T/pip-install-42hw6q4a/llvmlite_a0abee749e71467a998628e47a3a1a24/ffi/build.py&quot;, line 107, in main_posix
          raise RuntimeError(&quot;%s failed executing, please point LLVM_CONFIG &quot;
      RuntimeError: llvm-config failed executing, please point LLVM_CONFIG to the path for llvm-config
      error: command '/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10' failed with exit code 1
      ----------------------------------------
  ERROR: Command errored out with exit status 1: /Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '&quot;'&quot;'/private/var/folders/6j/xqx91xb15wl81pcnf33255bct7pzn4/T/pip-install-42hw6q4a/llvmlite_a0abee749e71467a998628e47a3a1a24/setup.py'&quot;'&quot;'; __file__='&quot;'&quot;'/private/var/folders/6j/xqx91xb15wl81pcnf33255bct7pzn4/T/pip-install-42hw6q4a/llvmlite_a0abee749e71467a998628e47a3a1a24/setup.py'&quot;'&quot;';f = getattr(tokenize, '&quot;'&quot;'open'&quot;'&quot;', open)(__file__) if os.path.exists(__file__) else io.StringIO('&quot;'&quot;'from setuptools import setup; setup()'&quot;'&quot;');code = f.read().replace('&quot;'&quot;'\r\n'&quot;'&quot;', '&quot;'&quot;'\n'&quot;'&quot;');f.close();exec(compile(code, __file__, '&quot;'&quot;'exec'&quot;'&quot;'))' install --record /private/var/folders/6j/xqx91xb15wl81pcnf33255bct7pzn4/T/pip-record-6u_7985j/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/llvmlite Check the logs for full command output.
  fishbacp@fishbacpK0ML85 ~ % pip3 install llvm
  ERROR: Could not find a version that satisfies the requirement llvm (from versions: none)
  ERROR: No matching distribution found for llvm
  </code></pre>