PlatformIo install issue

Windows 10 Norton 360
I got this error message when installing platformIO.
I disabled the Norton 360 firewall and autoprotect.

Blockquote
Error: Error: Command ‘[‘C:\Users\JLA\.platformio\penv\Scripts\python.exe’, ‘-m’, ‘ensurepip’, ‘–upgrade’, ‘–default-pip’]’ returned non-zero exit status 1.
C:\Users...platformio\python3\python.exe: No module named virtualenv
C:\Users...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…

Blockquote

Dekete this folder completely and restart VSCode. It will autodownload the Python installation new. Something seems incomplete in there if the virtualenv module was not installed.

Thanks,
It don’t work. I got the same error message.
I tried the manual installation of platformio with this cmd command without success:
C:\Users\JLA.platformio\penv\Scripts>python -m pip install -U platformio
Collecting platformio
Using cached platformio-6.1.15.tar.gz (238 kB)
Preparing metadata (setup.py) … error
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.

Do you use any espionage software (Kaspersky, dr.web) or other antivirus tools?

I use Norton 360, “firewall and autoprotect” functions disabled.

This error from Python’s PIP installer means “no permission/someone killed the installer”. Usually, espionage software tries to kill all subprocesses. You can try to add %USERPROFILE%/.platformio folder to the whitelist in your espionage tool (or how do people call them “antivirus”).