Skip to content

Installation Manager #3476

@VilemR

Description

@VilemR

%23 Description of problem
Leave a comment...

BEFORE SUBMITTING, PLEASE SEARCH FOR DUPLICATES IN

%23 Configuration

VSCode: 1.108.1
PIO IDE: v3.3.4
System: Linux, 6.14.0-1018-aws, x64

%23 Exception

Error: Error: Command '['/home/vscode/.platformio/penv/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
/usr/local/python/current/bin/python3: No module named virtualenv
ERROR: Could not install packages due to an OSError: Could not find a suitable TLS CA certificate bundle, invalid path: /home/vscode/.platformio/penv/lib/python3.14/site-packages/pip/_vendor/certifi/cacert.pem

WARNING: Ignoring invalid distribution ~ip (/home/vscode/.platformio/penv/lib/python3.14/site-packages)
Error: Could not install PlatformIO Core: Command '['/home/vscode/.platformio/penv/bin/python', '-m', 'pip', 'install', '-U', 'platformio']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/usr/local/python/current/lib/python3.14/multiprocessing/util.py", line 371, in _run_finalizers
  finalizer()
  ~~~~~~~~~^^
File "/usr/local/python/current/lib/python3.14/multiprocessing/util.py", line 295, in __call__
  res = self._callback(*self._args, **self._kwargs)
File "/usr/local/python/current/lib/python3.14/multiprocessing/util.py", line 147, in _remove_temp_dir
  rmtree(tempdir)
  ~~~~~~^^^^^^^^^
File "/usr/local/python/current/lib/python3.14/shutil.py", line 852, in rmtree
  _rmtree_impl(path, dir_fd, onexc)
  ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/python/current/lib/python3.14/shutil.py", line 721, in _rmtree_safe_fd
  _rmtree_safe_fd_step(stack, onexc)
  ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "/usr/local/python/current/lib/python3.14/shutil.py", line 799, in _rmtree_safe_fd_step
  onexc(func, path, err)
  ~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/python/current/lib/python3.14/shutil.py", line 760, in _rmtree_safe_fd_step
  orig_st = os.lstat(name, dir_fd=dirfd)
FileNotFoundError: [Errno 2] No such file or directory: '/home/vscode/.platformio/.cache/tmp/.piocore-installer-kk5c05w9/pymp-7x71ctc1'
-> Installer version: 1.2.2
Platform: Linux-6.14.0-1018-aws-x86_64-with-glibc2.41
Python version: 3.14.2 (main, Jan 26 2026, 18:47:48) [GCC 14.2.0]
Python path: /usr/local/python/current/bin/python3
Creating a virtual environment at /home/vscode/.platformio/penv
created virtual environment CPython3.14.2.final.0-64 in 1371ms
creator CPython3Posix(dest=/home/vscode/.platformio/penv, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, via=copy, app_data_dir=/home/vscode/.local/share/virtualenv)
  added seed packages: pip==25.3
activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
Updating Python package manager (PIP) in the virtual environment
Requirement already satisfied: pip in /home/vscode/.platformio/penv/lib/python3.14/site-packages (25.3)
PIP has been successfully updated!
Virtual environment has been successfully created!
Installing PlatformIO Core
Collecting platformio
Downloading platformio-6.1.18-py3-none-any.whl.metadata (7.1 kB)
Collecting bottle==0.13.* (from platformio)
Downloading bottle-0.13.4-py2.py3-none-any.whl.metadata (1.6 kB)
Collecting click<8.1.8,>=8.0.4 (from platformio)
Downloading click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Collecting colorama (from platformio)
Downloading colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB)
Collecting marshmallow==3.* (from platformio)
Downloading marshmallow-3.26.2-py3-none-any.whl.metadata (7.3 kB)
Collecting pyelftools<1,>=0.27 (from platformio)
Downloading pyelftools-0.32-py3-none-any.whl.metadata (372 bytes)
Collecting pyserial==3.5.* (from platformio)
Using cached pyserial-3.5-py2.py3-none-any.whl.metadata (1.6 kB)
Collecting requests==2.* (from platformio)
Downloading requests-2.32.5-py3-none-any.whl.metadata (4.9 kB)
Collecting semantic_version==2.10.* (from platformio)
Downloading semantic_version-2.10.0-py2.py3-none-any.whl.metadata (9.7 kB)
Collecting tabulate==0.* (from platformio)
Downloading tabulate-0.9.0-py3-none-any.whl.metadata (34 kB)
Collecting ajsonrpc==1.2.* (from platformio)
Downloading ajsonrpc-1.2.0-py3-none-any.whl.metadata (6.9 kB)
Collecting starlette<0.47,>=0.19 (from platformio)
Downloading starlette-0.46.2-py3-none-any.whl.metadata (6.2 kB)
Collecting uvicorn<0.35,>=0.16 (from platformio)
Downloading uvicorn-0.34.3-py3-none-any.whl.metadata (6.5 kB)
Collecting wsproto==1.* (from platformio)
Downloading wsproto-1.3.2-py3-none-any.whl.metadata (5.2 kB)
Collecting packaging>=17.0 (from marshmallow==3.*->platformio)
Downloading packaging-26.0-py3-none-any.whl.metadata (3.3 kB)
Collecting charset_normalizer<4,>=2 (from requests==2.*->platformio)
Downloading charset_normalizer-3.4.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (37 kB)
Collecting idna<4,>=2.5 (from requests==2.*->platformio)
Downloading idna-3.11-py3-none-any.whl.metadata (8.4 kB)
Collecting urllib3<3,>=1.21.1 (from requests==2.*->platformio)
Downloading urllib3-2.6.3-py3-none-any.whl.metadata (6.9 kB)

  at /home/vscode/.vscode-browser-server/extensions/platformio.platformio-ide-3.3.4-linux-x64/node_modules/platformio-node-helpers/dist/index.js:1:5250
  at ChildProcess.i (/home/vscode/.vscode-browser-server/extensions/platformio.platformio-ide-3.3.4-linux-x64/node_modules/platformio-node-helpers/dist/index.js:1:4548)
  at ChildProcess.emit (node:events:519:28)
  at ChildProcess.emit (node:domain:489:12)
  at maybeClose (node:internal/child_process:1101:16)
  at Socket.<anonymous> (node:internal/child_process:456:11)
  at Socket.emit (node:events:519:28)
  at Socket.emit (node:domain:489:12)
  at Pipe.<anonymous> (node:net:346:12)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions