~ $ pip install numpy scipy pandas
Collecting numpy
Using cached numpy-2.3.2.tar.gz (20.5 MB)
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 2
╰─> [83 lines of output]
Collecting meson-python>=0.15.0
Using cached meson_python-0.18.0-py3-none-any.whl.metadata (2.8 kB)
Collecting Cython>=3.0.6
Using cached cython-3.1.3-py3-none-any.whl.metadata (4.5 kB)
Collecting meson>=1.2.3 (from meson-python>=0.15.0)
Downloading meson-1.9.0-py3-none-any.whl.metadata (1.8 kB)
Collecting packaging>=23.2 (from meson-python>=0.15.0)
Using cached packaging-25.0-py3-none-any.whl.metadata (3.3 kB)
Collecting pyproject-metadata>=0.9.0 (from meson-python>=0.15.0)
Using cached pyproject_metadata-0.9.1-py3-none-any.whl.metadata (7.0 kB)
Using cached meson_python-0.18.0-py3-none-any.whl (28 kB)
Using cached cython-3.1.3-py3-none-any.whl (1.2 MB)
Downloading meson-1.9.0-py3-none-any.whl (1.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 8.1 kB/s eta 0:00:06
ERROR: Exception:
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pip/_vendor/urllib3/response.py", line 438, in _error_catcher
yield
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pip/_vendor/urllib3/response.py", line 561, in read
data = self._fp_read(amt) if not fp_closed else b""
^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pip/_vendor/urllib3/response.py", line 527, in _fp_read
return self._fp.read(amt) if amt is not None else self._fp.read()
^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 98, in read
data: bytes = self.__fp.read(amt)
^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/http/client.py", line 479, in read
s = self.fp.read(amt)
^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/socket.py", line 720, in readinto
return self._sock.recv_into(b)
^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/ssl.py", line 1251, in recv_into
return self.read(nbytes, buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/ssl.py", line 1103, in read
return self._sslobj.read(len, buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
BrokenPipeError: [Errno 32] Broken pipe
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pip/_internal/cli/base_command.py", line 107, in _run_wrapper
status = _inner_run()
^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pip/_internal/cli/base_command.py", line 98, in _inner_run
return self.run(options, args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pip/_internal/cli/req_command.py", line 71, in wrapper
return func(self, options, args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pip/_internal/commands/install.py", line 407, in run
requirement_set = resolver.resolve(
^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 184, in resolve
self.factory.preparer.prepare_linked_requirements_more(reqs)
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pip/_internal/operations/prepare.py", line 564, in prepare_linked_requirements_more
self._complete_partial_requirements(
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pip/_internal/operations/prepare.py", line 479, in _complete_partial_requirements
for link, (filepath, _) in batch_download:
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pip/_internal/network/download.py", line 184, in batch
filepath, content_type = self(link, location)
^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pip/_internal/network/download.py", line 195, in __call__
self._process_response(download, resp)
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pip/_internal/network/download.py", line 212, in _process_response
for chunk in chunks:
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pip/_internal/cli/progress_bars.py", line 67, in _rich_download_progress_bar
for chunk in iterable:
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pip/_internal/network/utils.py", line 65, in response_chunks
for chunk in response.raw.stream(
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pip/_vendor/urllib3/response.py", line 622, in stream
data = self.read(amt=amt, decode_content=decode_content)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pip/_vendor/urllib3/response.py", line 560, in read
with self._error_catcher():
File "/data/data/com.termux/files/usr/lib/python3.12/contextlib.py", line 158, in __exit__
self.gen.throw(value)
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pip/_vendor/urllib3/response.py", line 455, in _error_catcher
raise ProtocolError("Connection broken: %r" % e, e)
pip._vendor.urllib3.exceptions.ProtocolError: ("Connection broken: BrokenPipeError(32, 'Broken pipe')", BrokenPipeError(32, 'Broken pipe'))
[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: 2
╰─> See above for output.