platformio-core-installer icon indicating copy to clipboard operation
platformio-core-installer copied to clipboard

Installation Manager

Open sewep opened this issue 8 months ago • 0 comments

%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.97.2 PIO IDE: v3.3.4 System: Windows_NT, 10.0.26100, x64

%23 Exception

Error: WARNING: There was an error checking the latest version of pip.
WARNING: There was an error checking the latest version of pip.
ERROR: Exception:
Traceback (most recent call last):
File "C:\Users\pikul\.platformio\penv\Lib\site-packages\pip\_internal\cli\base_command.py", line 106, in _run_wrapper
  status = _inner_run()
           ^^^^^^^^^^^^
File "C:\Users\pikul\.platformio\penv\Lib\site-packages\pip\_internal\cli\base_command.py", line 97, in _inner_run
  return self.run(options, args)
         ^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\pikul\.platformio\penv\Lib\site-packages\pip\_internal\cli\req_command.py", line 67, in wrapper
  return func(self, options, args)
         ^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\pikul\.platformio\penv\Lib\site-packages\pip\_internal\commands\install.py", line 332, in run
  session = self.get_default_session(options)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\pikul\.platformio\penv\Lib\site-packages\pip\_internal\cli\index_command.py", line 76, in get_default_session
  self._session = self.enter_context(self._build_session(options))
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\pikul\.platformio\penv\Lib\site-packages\pip\_internal\cli\index_command.py", line 95, in _build_session
  ssl_context = _create_truststore_ssl_context()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\pikul\.platformio\penv\Lib\site-packages\pip\_internal\cli\index_command.py", line 40, in _create_truststore_ssl_context
  from pip._vendor import truststore
File "C:\Users\pikul\.platformio\penv\Lib\site-packages\pip\_vendor\truststore\__init__.py", line 17, in <module>
  _sslobj = _ssl.create_default_context().wrap_bio(
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\pikul\.platformio\python3\Lib\ssl.py", line 775, in create_default_context
  context.load_default_certs(purpose)
File "C:\Users\pikul\.platformio\python3\Lib\ssl.py", line 596, in load_default_certs
  self._load_windows_store_certs(storename, purpose)
File "C:\Users\pikul\.platformio\python3\Lib\ssl.py", line 588, in _load_windows_store_certs
  self.load_verify_locations(cadata=certs)
ssl.SSLError: [X509V3: INVALID_CERTIFICATE] invalid certificate (_ssl.c:4035)
Error: Could not install PlatformIO Core: If you have antivirus/firewall/defender software in a system, try to disable it for a while.
Command '['C:\\Users\\pikul\\.platformio\\penv\\Scripts\\python.exe', '-m', 'pip', 'install', '-U', 'platformio']' returned non-zero exit status 2.
-> Installer version: 1.2.2
Platform: Windows-10
Python version: 3.11.7 (tags/v3.11.7:fa7a6f2, Dec  4 2023, 19:24:49) [MSC v.1937 64 bit (AMD64)]
Python path: C:\Users\pikul\.platformio\python3\python.exe
Creating a virtual environment at C:\Users\pikul\.platformio\penv
Updating Python package manager (PIP) in the virtual environment
Requirement already satisfied: pip in c:\users\pikul\.platformio\penv\lib\site-packages (23.2.1)
Collecting pip
Obtaining dependency information for pip from https://files.pythonhosted.org/packages/c9/bc/b7db44f5f39f9d0494071bddae6880eb645970366d0a200022a1a93d57f5/pip-25.0.1-py3-none-any.whl.metadata
Using cached pip-25.0.1-py3-none-any.whl.metadata (3.7 kB)
Using cached pip-25.0.1-py3-none-any.whl (1.8 MB)
Installing collected packages: pip
Attempting uninstall: pip
  Found existing installation: pip 23.2.1
  Uninstalling pip-23.2.1:
    Successfully uninstalled pip-23.2.1
Successfully installed pip-25.0.1
PIP has been successfully updated!
Virtual environment has been successfully created!
Installing PlatformIO Core

	at c:\Users\pikul\.vscode\extensions\platformio.platformio-ide-3.3.4-win32-x64\node_modules\platformio-node-helpers\dist\index.js:1:5250
	at ChildProcess.i (c:\Users\pikul\.vscode\extensions\platformio.platformio-ide-3.3.4-win32-x64\node_modules\platformio-node-helpers\dist\index.js:1:4548)
	at ChildProcess.emit (node:events:518:28)
	at ChildProcess.emit (node:domain:489:12)
	at maybeClose (node:internal/child_process:1104:16)
	at ChildProcess._handle.onexit (node:internal/child_process:304:5)

sewep avatar Feb 16 '25 18:02 sewep