VSCode: 1.89.1
PIO IDE: v3.3.3
System: Linux, 6.8.0-35-generic, x64
%23 Exception
Error: error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 2
╰─> [65 lines of output]
Collecting setuptools>=40.8.0
Downloading setuptools-70.0.0-py3-none-any.whl.metadata (5.9 kB)
Downloading setuptools-70.0.0-py3-none-any.whl (863 kB)
━ 30.7/863.4 kB 63.7 MB/s eta 0:00:01
ERROR: Exception:
Traceback (most recent call last):
File "/home/aline-mariana/.platformio/penv/lib/python3.12/site-packages/pip/_vendor/urllib3/response.py", line 438, in _error_catcher
yield
File "/home/aline-mariana/.platformio/penv/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 "/home/aline-mariana/.platformio/penv/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 "/home/aline-mariana/.platformio/penv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 98, in read
data: bytes = self.__fp.read(amt)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/http/client.py", line 479, in read
s = self.fp.read(amt)
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/socket.py", line 707, in readinto
return self._sock.recv_into(b)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/ssl.py", line 1252, in recv_into
return self.read(nbytes, buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/ssl.py", line 1104, in read
return self._sslobj.read(len, buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TimeoutError: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/aline-mariana/.platformio/penv/lib/python3.12/site-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper
status = run_func(*args)
^^^^^^^^^^^^^^^
File "/home/aline-mariana/.platformio/penv/lib/python3.12/site-packages/pip/_internal/cli/req_command.py", line 245, in wrapper
return func(self, options, args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/aline-mariana/.platformio/penv/lib/python3.12/site-packages/pip/_internal/commands/install.py", line 377, in run
requirement_set = resolver.resolve(
^^^^^^^^^^^^^^^^^
File "/home/aline-mariana/.platformio/penv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 179, in resolve
self.factory.preparer.prepare_linked_requirements_more(reqs)
File "/home/aline-mariana/.platformio/penv/lib/python3.12/site-packages/pip/_internal/operations/prepare.py", line 552, in prepare_linked_requirements_more
self._complete_partial_requirements(
File "/home/aline-mariana/.platformio/penv/lib/python3.12/site-packages/pip/_internal/operations/prepare.py", line 467, in _complete_partial_requirements
for link, (filepath, _) in batch_download:
File "/home/aline-mariana/.platformio/penv/lib/python3.12/site-packages/pip/_internal/network/download.py", line 183, in __call__
for chunk in chunks:
File "/home/aline-mariana/.platformio/penv/lib/python3.12/site-packages/pip/_internal/cli/progress_bars.py", line 53, in _rich_progress_bar
for chunk in iterable:
File "/home/aline-mariana/.platformio/penv/lib/python3.12/site-packages/pip/_internal/network/utils.py", line 63, in response_chunks
for chunk in response.raw.stream(
File "/home/aline-mariana/.platformio/penv/lib/python3.12/site-packages/pip/_vendor/urllib3/response.py", line 622, in stream
data = self.read(amt=amt, decode_content=decode_content)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/aline-mariana/.platformio/penv/lib/python3.12/site-packages/pip/_vendor/urllib3/response.py", line 560, in read
with self._error_catcher():
File "/usr/lib/python3.12/contextlib.py", line 158, in __exit__
self.gen.throw(value)
File "/home/aline-mariana/.platformio/penv/lib/python3.12/site-packages/pip/_vendor/urllib3/response.py", line 443, in _error_catcher
raise ReadTimeoutError(self._pool, None, "Read timed out.")
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
[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.
note: This error originates from a subprocess, and is likely not a problem with pip.
Error: Could not install PlatformIO Core: Command '['/home/aline-mariana/.platformio/penv/bin/python', '-m', 'pip', 'install', '-U', 'platformio']' returned non-zero exit status 1.
-> Installer version: 1.2.2
Platform: Linux-6.8.0-35-generic-x86_64-with-glibc2.39
Python version: 3.12.3 (main, Apr 10 2024, 05:33:47) [GCC 13.2.0]
Python path: /usr/bin/python3
Creating a virtual environment at /home/aline-mariana/.platformio/penv
Updating Python package manager (PIP) in the virtual environment
Requirement already satisfied: pip in /home/aline-mariana/.platformio/penv/lib/python3.12/site-packages (24.0)
PIP has been successfully updated!
Virtual environment has been successfully created!
Installing PlatformIO Core
Collecting platformio
Using cached platformio-6.1.15.tar.gz (238 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'error'
at /home/aline-mariana/.vscode/extensions/platformio.platformio-ide-3.3.3-linux-x64/node_modules/platformio-node-helpers/dist/index.js:1:5323
at ChildProcess.i (/home/aline-mariana/.vscode/extensions/platformio.platformio-ide-3.3.3-linux-x64/node_modules/platformio-node-helpers/dist/index.js:1:4621)
at ChildProcess.emit (node:events:517:28)
at ChildProcess.emit (node:domain:489:12)
at maybeClose (node:internal/child_process:1098:16)
at Socket.<anonymous> (node:internal/child_process:450:11)
at Socket.emit (node:events:517:28)
at Socket.emit (node:domain:489:12)
at Pipe.<anonymous> (node:net:350:12)
%23 Description of problem Leave a comment...
BEFORE SUBMITTING, PLEASE SEARCH FOR DUPLICATES IN
https://github.com/platformio/platformio-vscode-ide/issues%3Fq=is%3Aissue
%23 Configuration
VSCode: 1.89.1 PIO IDE: v3.3.3 System: Linux, 6.8.0-35-generic, x64
%23 Exception
× pip subprocess to install build dependencies did not run successfully. │ exit code: 2 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip. Error: Could not install PlatformIO Core: Command '['/home/aline-mariana/.platformio/penv/bin/python', '-m', 'pip', 'install', '-U', 'platformio']' returned non-zero exit status 1. -> Installer version: 1.2.2 Platform: Linux-6.8.0-35-generic-x86_64-with-glibc2.39 Python version: 3.12.3 (main, Apr 10 2024, 05:33:47) [GCC 13.2.0] Python path: /usr/bin/python3 Creating a virtual environment at /home/aline-mariana/.platformio/penv Updating Python package manager (PIP) in the virtual environment Requirement already satisfied: pip in /home/aline-mariana/.platformio/penv/lib/python3.12/site-packages (24.0) PIP has been successfully updated! Virtual environment has been successfully created! Installing PlatformIO Core Collecting platformio Using cached platformio-6.1.15.tar.gz (238 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error'