Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation Manager #3270

Open
Sabarevijay opened this issue Dec 12, 2024 · 0 comments
Open

Installation Manager #3270

Sabarevijay opened this issue Dec 12, 2024 · 0 comments

Comments

@Sabarevijay
Copy link

%23 Description of problem
Leave a comment...

BEFORE SUBMITTING, PLEASE SEARCH FOR DUPLICATES IN

%23 Configuration

VSCode: 1.92.2
PIO IDE: v3.3.3
System: Windows_NT, 10.0.22631, 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\student\.platformio\penv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
    main()
  File "C:\Users\student\.platformio\penv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 349, in main
    write_json(json_out, pjoin(control_dir, 'output.json'), indent=2)
  File "C:\Users\student\.platformio\penv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 31, 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\\student\\.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\student\.platformio\python3\python.exe
Creating a virtual environment at C:\Users\student\.platformio\penv
Updating Python package manager (PIP) in the virtual environment
Requirement already satisfied: pip in c:\users\student\.platformio\penv\lib\site-packages (23.2.1)
Collecting pip
Obtaining dependency information for pip from https://files.pythonhosted.org/packages/ef/7d/500c9ad20238fcfcb4cb9243eede163594d7020ce87bd9610c9e02771876/pip-24.3.1-py3-none-any.whl.metadata
Downloading pip-24.3.1-py3-none-any.whl.metadata (3.7 kB)
Downloading pip-24.3.1-py3-none-any.whl (1.8 MB)
 ---------------------------------------- 1.8/1.8 MB 7.7 MB/s eta 0:00:00
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-24.3.1
PIP has been successfully updated!
Virtual environment has been successfully created!
Installing PlatformIO Core
Collecting platformio
Downloading platformio-6.1.16.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\student\.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\student\.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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant