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

Installation Manager

Open MikeyMoMo opened this issue 7 months ago • 0 comments

%23 Description of problem Leave a comment...

BEFORE SUBMITTING, PLEASE SEARCH FOR DUPLICATES IN

  • https://github.com/pioarduino/pioarduino-vscode-ide/issues%3Fq=is%3Aissue

%23 Configuration

VSCode: 1.98.2 PIO IDE: v1.0.6 System: Windows_NT, 10.0.26100, x64

%23 Exception

Error: Error: Command '['C:\\Users\\bangu\\.platformio\\penv\\Scripts\\python.exe', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 106.
C:\Users\bangu\AppData\Local\Programs\Python\Python313\python.exe: No module named virtualenv
C:\Users\bangu\AppData\Local\Programs\Python\Python313\python.exe: No module named virtualenv
C:\Users\bangu\.platformio\penv\Scripts\python.exe: No module named pip
ERROR: Could not install packages due to an OSError: [WinError 32] The process cannot access the file because it is being used by another process: 'c:\\users\\bangu\\.platformio\\penv\\lib\\site-packages\\pip\\_vendor\\platformdirs\\unix.py'
Check the permissions.

WARNING: Ignoring invalid distribution ~ip (C:\Users\bangu\.platformio\penv\Lib\site-packages)
C:\Users\bangu\.platformio\penv\Scripts\python.exe: No module named pip.__main__; 'pip' is a package and cannot be directly executed
Error: Could not install pioarduino Core: If you have antivirus/firewall/defender software in a system, try to disable it for a while.
Command '['C:\\Users\\bangu\\.platformio\\penv\\Scripts\\python.exe', '-m', 'pip', 'install', '-U', 'https://api.github.com/repos/pioarduino/platformio-core/zipball/v6.1.17']' returned non-zero exit status 1.
-> Installer version: 1.2.3
Platform: Windows-11
Python version: 3.13.2 (tags/v3.13.2:4f8bb39, Feb  4 2025, 15:23:48) [MSC v.1942 64 bit (AMD64)]
Python path: C:\Users\bangu\AppData\Local\Programs\Python\Python313\python.exe
Creating a virtual environment at C:\Users\bangu\.platformio\penv
created virtual environment CPython3.13.2.final.0-64 in 8289ms
creator CPython3Windows(dest=C:\Users\bangu\.platformio\penv, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, via=copy, app_data_dir=C:\Users\bangu\AppData\Local\pypa\virtualenv)
  added seed packages: pip==25.0.1, wheel==0.45.1
activators BashActivator,BatchActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
Updating Python package manager (PIP) in the virtual environment
Collecting pip
Downloading pip-25.0.1-py3-none-any.whl.metadata (3.7 kB)
Downloading pip-25.0.1-py3-none-any.whl (1.8 MB)
 ---------------------------------------- 1.8/1.8 MB 10.1 MB/s eta 0:00:00
Installing collected packages: pip
Attempting uninstall: pip
  Found existing installation: pip 24.3.1
  Uninstalling pip-24.3.1:
Virtual environment has been successfully created!
Installing pioarduino Core

	at c:\Users\bangu\.vscode\extensions\pioarduino.pioarduino-ide-1.0.6\node_modules\pioarduino-node-helpers\dist\index.js:1:5250
	at ChildProcess.c (c:\Users\bangu\.vscode\extensions\pioarduino.pioarduino-ide-1.0.6\node_modules\pioarduino-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)

MikeyMoMo avatar Mar 16 '25 05:03 MikeyMoMo