platformio-core-installer
                                
                                 platformio-core-installer copied to clipboard
                                
                                    platformio-core-installer copied to clipboard
                            
                            
                            
                        Installation Manager
%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.94.0 PIO IDE: v1.0.4 System: Linux, 6.8.0-45-generic, x64
%23 Exception
Error: Error: Command '['/home/eropelato/.platformio/penv/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
/usr/bin/python3: No module named virtualenv
/usr/bin/python3: No module named virtualenv
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 2
╰─> [11 lines of output]
    ERROR: Exception:
    Traceback (most recent call last):
      File "/home/eropelato/.platformio/penv/lib/python3.12/site-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper
      File "/home/eropelato/.platformio/penv/lib/python3.12/site-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run
      File "/home/eropelato/.platformio/penv/lib/python3.12/site-packages/pip/_internal/cli/req_command.py", line 67, in wrapper
      File "/home/eropelato/.platformio/penv/lib/python3.12/site-packages/pip/_internal/commands/install.py", line 325, in run
      File "/home/eropelato/.platformio/penv/lib/python3.12/site-packages/pip/_internal/cli/index_command.py", line 76, in get_default_session
      File "/home/eropelato/.platformio/penv/lib/python3.12/site-packages/pip/_internal/cli/index_command.py", line 99, in _build_session
      File "/home/eropelato/.platformio/penv/lib/python3.12/site-packages/pip/_internal/network/session.py", line 344, in __init__
      File "/home/eropelato/.platformio/penv/lib/python3.12/site-packages/pip/_internal/network/session.py", line 140, in user_agent
    ImportError: cannot import name 'distro' from 'pip._vendor' (/home/eropelato/.platformio/penv/lib/python3.12/site-packages/pip/_vendor/__init__.py)
    [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
WARNING: Ignoring invalid distribution ~ip (/home/eropelato/.platformio/penv/lib/python3.12/site-packages)
WARNING: Ignoring invalid distribution ~ip (/home/eropelato/.platformio/penv/lib/python3.12/site-packages)
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/eropelato/.platformio/penv/bin/python', '-m', 'pip', 'install', '-U', 'https://api.github.com/repos/pioarduino/platformio-core/zipball/v6.1.16']' returned non-zero exit status 1.
-> Installer version: 1.2.3
Platform: Linux-6.8.0-45-generic-x86_64-with-glibc2.39
Python version: 3.12.3 (main, Sep 11 2024, 14:17:37) [GCC 13.2.0]
Python path: /usr/bin/python3
Creating a virtual environment at /home/eropelato/.platformio/penv
created virtual environment CPython3.12.3.final.0-64 in 243ms
creator CPython3Posix(dest=/home/eropelato/.platformio/penv, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, via=copy, app_data_dir=/home/eropelato/.local/share/virtualenv)
  added seed packages: pip==24.2
activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
Updating Python package manager (PIP) in the virtual environment
Requirement already satisfied: pip in /home/eropelato/.platformio/penv/lib/python3.12/site-packages (24.2)
PIP has been successfully updated!
Virtual environment has been successfully created!
Installing PlatformIO Core
Collecting https://api.github.com/repos/pioarduino/platformio-core/zipball/v6.1.16
Downloading https://api.github.com/repos/pioarduino/platformio-core/zipball/v6.1.16
   - 556.5 kB 1.3 MB/s 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'error'
	at /home/eropelato/.vscode/extensions/pioarduino.pioarduino-ide-1.0.4/node_modules/pioarduino-node-helpers/dist/index.js:1:5262
	at ChildProcess.d (/home/eropelato/.vscode/extensions/pioarduino.pioarduino-ide-1.0.4/node_modules/pioarduino-node-helpers/dist/index.js:1:4560)
	at ChildProcess.emit (node:events:519:28)
	at ChildProcess.emit (node:domain:488:12)
	at maybeClose (node:internal/child_process:1105:16)
	at Socket.<anonymous> (node:internal/child_process:457:11)
	at Socket.emit (node:events:519:28)
	at Socket.emit (node:domain:488:12)
	at Pipe.<anonymous> (node:net:339:12)