linux icon indicating copy to clipboard operation
linux copied to clipboard

When I try to install something it constantly tells me its out of space, but there are 44 gib left

Open LocatedBiome opened this issue 4 weeks ago • 1 comments

Describe the bug

oncant@LightMakeStopper:~ $ sudo pip3 install tensorflow --break-system-packages Collecting tensorflow Using cached tensorflow-2.20.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (4.5 kB) Collecting absl-py>=1.0.0 (from tensorflow) Using cached absl_py-2.3.1-py3-none-any.whl.metadata (3.3 kB) Collecting astunparse>=1.6.0 (from tensorflow) Using cached astunparse-1.6.3-py2.py3-none-any.whl.metadata (4.4 kB) Collecting flatbuffers>=24.3.25 (from tensorflow) Using cached flatbuffers-25.9.23-py2.py3-none-any.whl.metadata (875 bytes) Collecting gast!=0.5.0,!=0.5.1,!=0.5.2,>=0.2.1 (from tensorflow) Using cached gast-0.6.0-py3-none-any.whl.metadata (1.3 kB) Collecting google_pasta>=0.1.1 (from tensorflow) Using cached google_pasta-0.2.0-py3-none-any.whl.metadata (814 bytes) Collecting libclang>=13.0.0 (from tensorflow) Using cached libclang-18.1.1-py2.py3-none-manylinux2014_aarch64.whl.metadata (5.2 kB) Collecting opt_einsum>=2.3.2 (from tensorflow) Using cached opt_einsum-3.4.0-py3-none-any.whl.metadata (6.3 kB) Requirement already satisfied: packaging in /usr/lib/python3/dist-packages (from tensorflow) (25.0) Collecting protobuf>=5.28.0 (from tensorflow) Using cached protobuf-6.33.1-cp39-abi3-manylinux2014_aarch64.whl.metadata (593 bytes) Requirement already satisfied: requests<3,>=2.21.0 in /usr/lib/python3/dist-packages (from tensorflow) (2.32.3) Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from tensorflow) (78.1.1) Collecting six>=1.12.0 (from tensorflow) Using cached six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB) Collecting termcolor>=1.1.0 (from tensorflow) Using cached termcolor-3.2.0-py3-none-any.whl.metadata (6.4 kB) Requirement already satisfied: typing_extensions>=3.6.6 in /usr/lib/python3/dist-packages (from tensorflow) (4.13.2) Collecting wrapt>=1.11.0 (from tensorflow) Using cached wrapt-2.0.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.metadata (9.0 kB) Collecting grpcio<2.0,>=1.24.3 (from tensorflow) Using cached grpcio-1.76.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.metadata (3.7 kB) Collecting tensorboard~=2.20.0 (from tensorflow) Using cached tensorboard-2.20.0-py3-none-any.whl.metadata (1.8 kB) Collecting keras>=3.10.0 (from tensorflow) Using cached keras-3.12.0-py3-none-any.whl.metadata (5.9 kB) Requirement already satisfied: numpy>=1.26.0 in /usr/lib/python3/dist-packages (from tensorflow) (2.2.4) Collecting h5py>=3.11.0 (from tensorflow) Using cached h5py-3.15.1-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.metadata (3.0 kB) Collecting ml_dtypes<1.0.0,>=0.5.1 (from tensorflow) Using cached ml_dtypes-0.5.4-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.metadata (8.9 kB) Requirement already satisfied: charset_normalizer<4,>=2 in /usr/lib/python3/dist-packages (from requests<3,>=2.21.0->tensorflow) (3.4.2) Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3/dist-packages (from requests<3,>=2.21.0->tensorflow) (3.10) Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/lib/python3/dist-packages (from requests<3,>=2.21.0->tensorflow) (2.3.0) Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests<3,>=2.21.0->tensorflow) (2025.1.31) Collecting markdown>=2.6.8 (from tensorboard~=2.20.0->tensorflow) Using cached markdown-3.10-py3-none-any.whl.metadata (5.1 kB) Requirement already satisfied: pillow in /usr/lib/python3/dist-packages (from tensorboard~=2.20.0->tensorflow) (11.1.0) Collecting tensorboard-data-server<0.8.0,>=0.7.0 (from tensorboard~=2.20.0->tensorflow) Using cached tensorboard_data_server-0.7.2-py3-none-any.whl.metadata (1.1 kB) Requirement already satisfied: werkzeug>=1.0.1 in /usr/lib/python3/dist-packages (from tensorboard~=2.20.0->tensorflow) (3.1.3) Requirement already satisfied: wheel<1.0,>=0.23.0 in /usr/lib/python3/dist-packages (from astunparse>=1.6.0->tensorflow) (0.46.1) Requirement already satisfied: rich in /usr/lib/python3/dist-packages (from keras>=3.10.0->tensorflow) (13.9.4) Collecting namex (from keras>=3.10.0->tensorflow) Using cached namex-0.1.0-py3-none-any.whl.metadata (322 bytes) Collecting optree (from keras>=3.10.0->tensorflow) Using cached optree-0.18.0-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.metadata (34 kB) Requirement already satisfied: MarkupSafe>=2.1.1 in /usr/lib/python3/dist-packages (from werkzeug>=1.0.1->tensorboard~=2.20.0->tensorflow) (2.1.5) Requirement already satisfied: markdown-it-py>=2.2.0 in /usr/lib/python3/dist-packages (from rich->keras>=3.10.0->tensorflow) (3.0.0) Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /usr/lib/python3/dist-packages (from rich->keras>=3.10.0->tensorflow) (2.18.0) Requirement already satisfied: mdurl~=0.1 in /usr/lib/python3/dist-packages (from markdown-it-py>=2.2.0->rich->keras>=3.10.0->tensorflow) (0.1.2) Downloading tensorflow-2.20.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (259.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸━━━ 237.2/259.7 MB 6.0 MB/s eta 0:00:04 ERROR: Exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pip/_vendor/urllib3/response.py", line 438, in _error_catcher yield File "/usr/lib/python3/dist-packages/pip/_vendor/urllib3/response.py", line 561, in read data = self._fp_read(amt) if not fp_closed else b"" ~~~~~~~~~~~~~^^^^^ File "/usr/lib/python3/dist-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 "/usr/lib/python3/dist-packages/pip/_vendor/cachecontrol/filewrapper.py", line 102, in read self.__buf.write(data) ~~~~~~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.13/tempfile.py", line 690, in func_wrapper return func(*args, **kwargs) OSError: [Errno 28] No space left on device

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper status = _inner_run() File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run return self.run(options, args) ~~~~~~~~^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 68, in wrapper return func(self, options, args) File "/usr/lib/python3/dist-packages/pip/_internal/commands/install.py", line 387, in run requirement_set = resolver.resolve( reqs, check_supported_wheels=not options.target_dir ) File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 182, in resolve self.factory.preparer.prepare_linked_requirements_more(reqs) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 559, in prepare_linked_requirements_more self._complete_partial_requirements( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ partially_downloaded_reqs, ^^^^^^^^^^^^^^^^^^^^^^^^^^ parallel_builds=parallel_builds, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 474, in _complete_partial_requirements for link, (filepath, _) in batch_download: ^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/pip/_internal/network/download.py", line 313, in call filepath, content_type = self._downloader(link, location) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/pip/_internal/network/download.py", line 185, in call bytes_received = self._process_response( resp, link, content_file, 0, total_length ) File "/usr/lib/python3/dist-packages/pip/_internal/network/download.py", line 208, in _process_response return self._write_chunks_to_file( ~~~~~~~~~~~~~~~~~~~~~~~~~~^ chunks, content_file, allow_partial=bool(total_length) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/lib/python3/dist-packages/pip/_internal/network/download.py", line 218, in _write_chunks_to_file for chunk in chunks: ^^^^^^ File "/usr/lib/python3/dist-packages/pip/_internal/cli/progress_bars.py", line 61, in _rich_download_progress_bar for chunk in iterable: ^^^^^^^^ File "/usr/lib/python3/dist-packages/pip/_internal/network/utils.py", line 65, in response_chunks for chunk in response.raw.stream( ~~~~~~~~~~~~~~~~~~~^ chunk_size, ^^^^^^^^^^^ ...<22 lines>... decode_content=False, ^^^^^^^^^^^^^^^^^^^^^ ): ^ File "/usr/lib/python3/dist-packages/pip/_vendor/urllib3/response.py", line 622, in stream data = self.read(amt=amt, decode_content=decode_content) File "/usr/lib/python3/dist-packages/pip/_vendor/urllib3/response.py", line 560, in read with self._error_catcher(): ~~~~~~~~~~~~~~~~~~~^^ File "/usr/lib/python3.13/contextlib.py", line 162, in exit self.gen.throw(value) ~~~~~~~~~~~~~~^^^^^^^ File "/usr/lib/python3/dist-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: OSError(28, 'No space left on device')", OSError(28, 'No space left on device'))

Steps to reproduce the behaviour

sudo pip3 install tensorflow --break-system-packages

Device (s)

Raspberry Pi 3 Mod. B

System

https://pastebin.com/zyTEF4kc

Logs

No response

Additional context

No response

LocatedBiome avatar Nov 27 '25 22:11 LocatedBiome

This does not sound like a problem with the Linux kernel - you would be better off asking in the Troubleshooting section of the Forums. However, I think you need to reconsider how you are powering the Pi:

[ 1548.676776] hwmon hwmon1: Undervoltage detected!
[ 1552.708725] hwmon hwmon1: Voltage normalised

pelwell avatar Nov 28 '25 08:11 pelwell