You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VSCode: 1.93.1
PIO IDE: v3.3.3
System: Windows_NT, 10.0.22621, x64
%23 Exception
Error: Error: Command '['C:\\Users\\fivef\\.platformio\\penv\\Scripts\\python.exe', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
C:\Users\fivef\.platformio\python3\python.exe: No module named virtualenv
C:\Users\fivef\.platformio\python3\python.exe: No module named virtualenv
error: subprocess-exited-with-error
python setup.py egg_info did not run successfully.
exit code: 101
[27 lines of output]
Unable to create process using '"C:\Users\fivef\.platformio\python3\python.exe" -c "
exec(compile('''
%23 This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py
%23
%23 - It imports setuptools before invoking setup.py, to enable projects that directly
%23 import from `distutils.core` to work with newer packaging standards.
%23 - It provides a clear error message when setuptools is not installed.
%23 - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so
%23 setuptools doesn't think the script is `-c`. This avoids the following warning:
%23 manifest_maker: standard file '-c' not found\".
%23 - It generates a shim setup.py, for handling setup.cfg-only projects.
import os, sys, tokenize
try:
import setuptools
except ImportError as error:
print(
\"ERROR: Can not execute `setup.py` since setuptools is not available in \"
\"the build environment.\",
file=sys.stderr,
)
sys.exit(1)
__file__ = %r
sys.argv[0] = __file__
if os.path.exists(__
[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\\fivef\\.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\fivef\.platformio\python3\python.exe
Creating a virtual environment at C:\Users\fivef\.platformio\penv
created virtual environment CPython3.11.7.final.0-64 in 1260ms
creator CPython3Windows(dest=C:\Users\fivef\.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\fivef\AppData\Local\pypa\virtualenv)
added seed packages: pip==24.2, setuptools==75.1.0, wheel==0.44.0
activators BashActivator,BatchActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
Updating Python package manager (PIP) in the virtual environment
Requirement already satisfied: pip in c:\users\fivef\.platformio\penv\lib\site-packages (24.2)
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\fivef\.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\fivef\.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:519:28)
at ChildProcess.emit (node:domain:488:12)
at maybeClose (node:internal/child_process:1105:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:305:5)
The text was updated successfully, but these errors were encountered:
%23 Description of problem
Leave a comment...
BEFORE SUBMITTING, PLEASE SEARCH FOR DUPLICATES IN
%23 Configuration
VSCode: 1.93.1
PIO IDE: v3.3.3
System: Windows_NT, 10.0.22621, x64
%23 Exception
The text was updated successfully, but these errors were encountered: