platformio-core-installer
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.97.0 PIO IDE: v3.3.4 System: Windows_NT, 10.0.19045, 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\drluk\.platformio\penv\Lib\site-packages\pip\_internal\cli\base_command.py", line 106, in _run_wrapper
status = _inner_run()
^^^^^^^^^^^^
File "C:\Users\drluk\.platformio\penv\Lib\site-packages\pip\_internal\cli\base_command.py", line 97, in _inner_run
return self.run(options, args)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\drluk\.platformio\penv\Lib\site-packages\pip\_internal\cli\req_command.py", line 67, in wrapper
return func(self, options, args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\drluk\.platformio\penv\Lib\site-packages\pip\_internal\commands\install.py", line 332, in run
session = self.get_default_session(options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\drluk\.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\drluk\.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\drluk\.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\drluk\.platformio\penv\Lib\site-packages\pip\_vendor\truststore\__init__.py", line 17, in <module>
_sslobj = _ssl.create_default_context().wrap_bio(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\drluk\.platformio\python3\Lib\ssl.py", line 775, in create_default_context
context.load_default_certs(purpose)
File "C:\Users\drluk\.platformio\python3\Lib\ssl.py", line 596, in load_default_certs
self._load_windows_store_certs(storename, purpose)
File "C:\Users\drluk\.platformio\python3\Lib\ssl.py", line 588, in _load_windows_store_certs
self.load_verify_locations(cadata=certs)
ssl.SSLError: not enough data: cadata does not contain a certificate (_ssl.c:4020)
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\\drluk\\.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\drluk\.platformio\python3\python.exe
Creating a virtual environment at C:\Users\drluk\.platformio\penv
Updating Python package manager (PIP) in the virtual environment
Requirement already satisfied: pip in c:\users\drluk\.platformio\penv\lib\site-packages (23.2.1)
Collecting pip
Obtaining dependency information for pip from https://files.pythonhosted.org/packages/85/8a/1ddf40be20103bcc605db840e9ade09c8e8c9f920a03e9cfe88eae97a058/pip-25.0-py3-none-any.whl.metadata
Using cached pip-25.0-py3-none-any.whl.metadata (3.7 kB)
Using cached pip-25.0-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
PIP has been successfully updated!
Virtual environment has been successfully created!
Installing PlatformIO Core
at c:\Users\drluk\.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\drluk\.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)