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

Installation Manager

Open ElectrovillaYt opened this issue 10 months ago • 2 comments
trafficstars

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

%23 Exception

Error: Error: Command '['C:\\Users\\Gaurav Pant\\.platformio\\penv\\Scripts\\python.exe', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
C:\Users\Gaurav Pant\AppData\Local\Programs\Python\Python312\python.exe: No module named virtualenv
C:\Users\Gaurav Pant\AppData\Local\Programs\Python\Python312\python.exe: No module named virtualenv
WARNING: There was an error checking the latest version of pip.
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\Gaurav Pant\.platformio\penv\Lib\site-packages\pip\__main__.py", line 22, in <module>
  from pip._internal.cli.main import main as _main
ModuleNotFoundError: No module named 'pip._internal.cli'
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\\Gaurav Pant\\.platformio\\penv\\Scripts\\python.exe', '-m', 'pip', 'install', '-U', 'platformio']' returned non-zero exit status 1.
-> Installer version: 1.2.2
Platform: Windows-11
Python version: 3.12.4 (tags/v3.12.4:8e8a4ba, Jun  6 2024, 19:30:16) [MSC v.1940 64 bit (AMD64)]
Python path: C:\Users\Gaurav Pant\AppData\Local\Programs\Python\Python312\python.exe
Creating a virtual environment at C:\Users\Gaurav Pant\.platformio\penv
created virtual environment CPython3.12.4.final.0-64 in 2878ms
creator CPython3Windows(dest=C:\Users\Gaurav Pant\.platformio\penv, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, via=copy, app_data_dir=C:\Users\Gaurav Pant\AppData\Local\pypa\virtualenv)
  added seed packages: pip==24.3.1
activators BashActivator,BatchActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
Updating Python package manager (PIP) in the virtual environment
Requirement already satisfied: pip in c:\users\gaurav pant\.platformio\penv\lib\site-packages (24.3.1)
PIP has been successfully updated!
Virtual environment has been successfully created!
Installing PlatformIO Core

	at c:\Users\Gaurav Pant\.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\Gaurav Pant\.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)

ElectrovillaYt avatar Jan 18 '25 07:01 ElectrovillaYt

#2580

ElectrovillaYt avatar Jan 18 '25 07:01 ElectrovillaYt

This issue has been automatically marked as stale because it has not had recent activity. Please provide more details or it will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 25 '25 01:02 stale[bot]