VSCode: 1.90.2
PIO IDE: v3.3.3
System: Windows_NT, 10.0.17763, x64
%23 Exception
Error: Error: Command '['C:\\Users\\JLA\\.platformio\\penv\\Scripts\\python.exe', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
C:\Users\JLA\.platformio\python3\python.exe: No module named virtualenv
C:\Users\JLA\.platformio\python3\python.exe: No module named virtualenv
error: subprocess-exited-with-error
python setup.py egg_info did not run successfully.
exit code: 4294967295
[0 lines of output]
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
Encountered error while generating package metadata.
See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
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\JLA\.platformio\penv\Scripts\python.exe', '-m', 'pip', 'install', '-U', 'platformio']' returned non-zero exit status 1.
-> 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\JLA.platformio\python3\python.exe
Creating a virtual environment at C:\Users\JLA.platformio\penv
created virtual environment CPython3.11.7.final.0-64 in 6238ms
creator CPython3Windows(dest=C:\Users\JLA.platformio\penv, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=C:\Users\JLA\AppData\Local\pypa\virtualenv)
added seed packages: pip==24.1, setuptools==70.1.0, wheel==0.43.0
activators BashActivator,BatchActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
Updating Python package manager (PIP) in the virtual environment
Requirement already satisfied: pip in c:\users\jla.platformio\penv\lib\site-packages (24.1)
PIP has been successfully updated!
Virtual environment has been successfully created!
Installing PlatformIO Core
Collecting platformio
Using cached platformio-6.1.15.tar.gz (238 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
at c:\Users\JLA\.vscode\extensions\platformio.platformio-ide-3.3.3-win32-x64\node_modules\platformio-node-helpers\dist\index.js:1:5323
at ChildProcess.i (c:\Users\JLA\.vscode\extensions\platformio.platformio-ide-3.3.3-win32-x64\node_modules\platformio-node-helpers\dist\index.js:1:4621)
at ChildProcess.emit (node:events:514: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)
%23 Description of problem Windows 10 , Norton 360 firewall and auto-protect disable
BEFORE SUBMITTING, PLEASE SEARCH FOR DUPLICATES IN
https://github.com/platformio/platformio-vscode-ide/issues%3Fq=is%3Aissue
%23 Configuration
VSCode: 1.90.2 PIO IDE: v3.3.3 System: Windows_NT, 10.0.17763, x64
%23 Exception
Encountered error while generating package metadata.
See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details. 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\JLA\.platformio\penv\Scripts\python.exe', '-m', 'pip', 'install', '-U', 'platformio']' returned non-zero exit status 1. -> 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\JLA.platformio\python3\python.exe Creating a virtual environment at C:\Users\JLA.platformio\penv created virtual environment CPython3.11.7.final.0-64 in 6238ms creator CPython3Windows(dest=C:\Users\JLA.platformio\penv, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=C:\Users\JLA\AppData\Local\pypa\virtualenv) added seed packages: pip==24.1, setuptools==70.1.0, wheel==0.43.0 activators BashActivator,BatchActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Updating Python package manager (PIP) in the virtual environment Requirement already satisfied: pip in c:\users\jla.platformio\penv\lib\site-packages (24.1) PIP has been successfully updated! Virtual environment has been successfully created! Installing PlatformIO Core Collecting platformio Using cached platformio-6.1.15.tar.gz (238 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'error'