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

Installation Manager

Open Jeffery-Yuan opened this issue 1 year ago • 1 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.93.1 PIO IDE: v3.3.2 System: Windows_NT, 10.0.19045, x64

%23 Exception

Error:   error: subprocess-exited-with-error

pip subprocess to install build dependencies did not run successfully.
exit code: 1

[3 lines of output]
ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none)
ERROR: No matching distribution found for setuptools>=40.8.0
WARNING: There was an error checking the latest version of pip.
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

pip subprocess to install build dependencies did not run successfully.
exit code: 1

See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
WARNING: There was an error checking the latest version of pip.
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\\Yuanshengfu\\.platformio\\penv\\Scripts\\python.exe', '-m', 'pip', 'install', '-U', 'https://github.com/platformio/platformio/archive/develop.zip']' returned non-zero exit status 1.
-> Installer version: 1.2.1
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\Yuanshengfu\.platformio\python3\python.exe
Creating a virtual environment at C:\Users\Yuanshengfu\.platformio\penv
Updating Python package manager (PIP) in a virtual environment
Virtual environment has been successfully created!
Installing a development version of PlatformIO Core
Collecting https://github.com/platformio/platformio/archive/develop.zip
Downloading https://github.com/platformio/platformio/archive/develop.zip
   / 551.5 kB 269.5 kB/s 0:00:02
Installing build dependencies: started
Installing build dependencies: finished with status 'error'

	at c:\Users\Yuanshengfu\.vscode\extensions\platformio.platformio-ide-3.3.2-win32-x64\node_modules\platformio-node-helpers\dist\index.js:1:5300
	at ChildProcess.c (c:\Users\Yuanshengfu\.vscode\extensions\platformio.platformio-ide-3.3.2-win32-x64\node_modules\platformio-node-helpers\dist\index.js:1:4598)
	at ChildProcess.emit (node:events:519:28)
	at ChildProcess.emit (node:domain:488:12)
	at maybeClose (node:internal/child_process:1105:16)
	at ChildProcess._handle.onexit (node:internal/child_process:305:5)

Jeffery-Yuan avatar Sep 18 '24 06:09 Jeffery-Yuan