platformio-core-installer
platformio-core-installer copied to clipboard
Installation Manager
%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.97.2 PIO IDE: v3.3.4 System: Windows_NT, 10.0.19045, x64
%23 Exception
Error: error: subprocess-exited-with-error
Getting requirements to build wheel did not run successfully.
exit code: 1
[21 lines of output]
running egg_info
writing platformio.egg-info\PKG-INFO
writing dependency_links to platformio.egg-info\dependency_links.txt
writing entry points to platformio.egg-info\entry_points.txt
writing requirements to platformio.egg-info\requires.txt
writing top-level names to platformio.egg-info\top_level.txt
reading manifest file 'platformio.egg-info\SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'platformio.egg-info\SOURCES.txt'
OSError: [Errno 9] Bad file descriptor
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Admin\.platformio\penv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 389, in <module>
main()
File "C:\Users\Admin\.platformio\penv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 385, in main
write_json(json_out, pjoin(control_dir, "output.json"), indent=2)
File "C:\Users\Admin\.platformio\penv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 32, in write_json
with open(path, "w", encoding="utf-8") as f:
OSError: [Errno 9] Bad file descriptor
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
Getting requirements to build wheel 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.
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\\Admin\\.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\Admin\.platformio\python3\python.exe
Creating a virtual environment at C:\Users\Admin\.platformio\penv
Updating Python package manager (PIP) in the virtual environment
Requirement already satisfied: pip in c:\users\admin\.platformio\penv\lib\site-packages (23.2.1)
Collecting pip
Obtaining dependency information for pip from https://files.pythonhosted.org/packages/c9/bc/b7db44f5f39f9d0494071bddae6880eb645970366d0a200022a1a93d57f5/pip-25.0.1-py3-none-any.whl.metadata
Using cached pip-25.0.1-py3-none-any.whl.metadata (3.7 kB)
Using cached pip-25.0.1-py3-none-any.whl (1.8 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 23.2.1
Uninstalling pip-23.2.1:
Successfully uninstalled pip-23.2.1
Successfully installed pip-25.0.1
PIP has been successfully updated!
Virtual environment has been successfully created!
Installing PlatformIO Core
Collecting platformio
Using cached platformio-6.1.17.tar.gz (239 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
at c:\Users\Admin\.vscode\extensions\platformio.platformio-ide-3.3.4-win32-x64\node_modules\platformio-node-helpers\dist\index.js:1:5250
at ChildProcess.i (c:\Users\Admin\.vscode\extensions\platformio.platformio-ide-3.3.4-win32-x64\node_modules\platformio-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)