title: ERROR: Could not build wheels for coincurve, which is required to install pyproject.toml-based projects
body: <p>Error while installing bit using Termux on a Samsung Galaxy s10 Android 12 which is not rooted</p>
  <pre><code>~ $ pip3 install bit                                    Collecting bit
    Using cached bit-0.8.0-py3-none-any.whl (68 kB)
  Collecting requests                                       Using cached requests-2.27.1-py2.py3-none-any.whl (63 kB)                                                     Collecting coincurve&gt;=4.3.0
    Using cached coincurve-17.0.0.tar.gz (2.5 MB)
    Installing build dependencies ... done
    Getting requirements to build wheel ... done            Installing backend dependencies ... done
    Preparing metadata (pyproject.toml) ... done
  Collecting asn1crypto
    Using cached asn1crypto-1.5.0-py2.py3-none-any.whl (105 kB)                                                   Collecting cffi&gt;=1.3.0
    Using cached cffi-1.15.0-cp310-cp310-linux_aarch64.whlCollecting urllib3&lt;1.27,&gt;=1.21.1                          Using cached urllib3-1.26.8-py2.py3-none-any.whl (138 kB)
  Collecting certifi&gt;=2017.4.17
    Using cached certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
  Collecting charset-normalizer~=2.0.0
    Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
  Collecting idna&lt;4,&gt;=2.5
    Using cached idna-3.3-py3-none-any.whl (61 kB)
  Collecting pycparser
    Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
  Building wheels for collected packages: coincurve
    Building wheel for coincurve (pyproject.toml) ... error
    error: subprocess-exited-with-error
  
    × Building wheel for coincurve (pyproject.toml) did not run successfully.
    │ exit code: 1
    ╰─&gt; [64 lines of output]
        running bdist_wheel
        running build
        running build_py
        creating build
        creating build/lib.linux-aarch64-3.10
        creating build/lib.linux-aarch64-3.10/coincurve
        copying coincurve/types.py -&gt; build/lib.linux-aarch64-3.10/coincurve
        copying coincurve/ecdsa.py -&gt; build/lib.linux-aarch64-3.10/coincurve
        copying coincurve/_windows_libsecp256k1.py -&gt; build/lib.linux-aarch64-3.10/coincurve
        copying coincurve/keys.py -&gt; build/lib.linux-aarch64-3.10/coincurve
        copying coincurve/context.py -&gt; build/lib.linux-aarch64-3.10/coincurve
        copying coincurve/flags.py -&gt; build/lib.linux-aarch64-3.10/coincurve
        copying coincurve/__init__.py -&gt; build/lib.linux-aarch64-3.10/coincurve
        copying coincurve/utils.py -&gt; build/lib.linux-aarch64-3.10/coincurve
        copying coincurve/py.typed -&gt; build/lib.linux-aarch64-3.10/coincurve
        running build_clib
        Can't exec &quot;aclocal&quot;: No such file or directory at /data/data/com.termux/files/usr/share/autoconf/Autom4te/FileUtils.pm line 274.
        autoreconf: error: aclocal failed with exit status: 1
        Traceback (most recent call last):
          File &quot;/data/data/com.termux/files/usr/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py&quot;, line 363, in &lt;module&gt;
            main()
          File &quot;/data/data/com.termux/files/usr/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py&quot;, line 345, in main
            json_out['return_val'] = hook(**hook_input['kwargs'])
          File &quot;/data/data/com.termux/files/usr/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py&quot;, line 261, in build_wheel
            return _build_backend().build_wheel(wheel_directory, config_settings,
          File &quot;/data/data/com.termux/files/usr/tmp/pip-build-env-idl32cqz/overlay/lib/python3.10/site-packages/setuptools/build_meta.py&quot;, line 244, in build_wheel
            return self._build_with_temp_dir(['bdist_wheel'], '.whl',
          File &quot;/data/data/com.termux/files/usr/tmp/pip-build-env-idl32cqz/overlay/lib/python3.10/site-packages/setuptools/build_meta.py&quot;, line 229, in _build_with_temp_dir
            self.run_setup()
          File &quot;/data/data/com.termux/files/usr/tmp/pip-build-env-idl32cqz/overlay/lib/python3.10/site-packages/setuptools/build_meta.py&quot;, line 281, in run_setup
            super(_BuildMetaLegacyBackend,
          File &quot;/data/data/com.termux/files/usr/tmp/pip-build-env-idl32cqz/overlay/lib/python3.10/site-packages/setuptools/build_meta.py&quot;, line 174, in run_setup
            exec(compile(code, __file__, 'exec'), locals())
          File &quot;setup.py&quot;, line 264, in &lt;module&gt;
            setup(
          File &quot;/data/data/com.termux/files/usr/tmp/pip-build-env-idl32cqz/overlay/lib/python3.10/site-packages/setuptools/__init__.py&quot;, line 155, in setup
            return distutils.core.setup(**attrs)
          File &quot;/data/data/com.termux/files/usr/tmp/pip-build-env-idl32cqz/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py&quot;, line 148, in setup
            return run_commands(dist)
          File &quot;/data/data/com.termux/files/usr/tmp/pip-build-env-idl32cqz/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py&quot;, line 163, in run_commands
            dist.run_commands()
          File &quot;/data/data/com.termux/files/usr/tmp/pip-build-env-idl32cqz/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py&quot;, line 967, in run_commands
            self.run_command(cmd)
          File &quot;/data/data/com.termux/files/usr/tmp/pip-build-env-idl32cqz/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py&quot;, line 986, in run_command
            cmd_obj.run()
          File &quot;setup.py&quot;, line 97, in run
            _bdist_wheel.run(self)
          File &quot;/data/data/com.termux/files/usr/tmp/pip-build-env-idl32cqz/overlay/lib/python3.10/site-packages/wheel/bdist_wheel.py&quot;, line 299, in run
            self.run_command('build')
          File &quot;/data/data/com.termux/files/usr/tmp/pip-build-env-idl32cqz/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py&quot;, line 313, in run_command
            self.distribution.run_command(command)
          File &quot;/data/data/com.termux/files/usr/tmp/pip-build-env-idl32cqz/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py&quot;, line 986, in run_command
            cmd_obj.run()
          File &quot;/data/data/com.termux/files/usr/tmp/pip-build-env-idl32cqz/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/build.py&quot;, line 135, in run
            self.run_command(cmd_name)
          File &quot;/data/data/com.termux/files/usr/tmp/pip-build-env-idl32cqz/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py&quot;, line 313, in run_command
            self.distribution.run_command(command)
          File &quot;/data/data/com.termux/files/usr/tmp/pip-build-env-idl32cqz/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py&quot;, line 986, in run_command
            cmd_obj.run()
          File &quot;setup.py&quot;, line 154, in run
            subprocess.check_call([autogen], cwd=absolute('libsecp256k1'))
          File &quot;/data/data/com.termux/files/usr/lib/python3.10/subprocess.py&quot;, line 369, in check_call
            raise CalledProcessError(retcode, cmd)
        subprocess.CalledProcessError: Command '['/data/data/com.termux/files/usr/tmp/pip-install-pgwmnz6f/coincurve_5ace6eabc71247daaa71de70d4272038/libsecp256k1/autogen.sh']' returned non-zero 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 coincurve
  Failed to build coincurve
  ERROR: Could not build wheels for coincurve, which is required to install pyproject.toml-based projects
  </code></pre>
  <p>I've already installed wheel but it's still not working and try some others things but did work neither (I don't remember sorry).
  I'm using Python 3.10.2 and pip 22.0.4
  Everything is normally up to date</p>
  <p>Anyone know how can I solve this?</p>