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 #3242

Open
zhutuoda opened this issue Oct 10, 2024 · 0 comments
Open

Installation Manager #3242

zhutuoda opened this issue Oct 10, 2024 · 0 comments

Comments

@zhutuoda
Copy link

%23 Description of problem
Leave a comment...

BEFORE SUBMITTING, PLEASE SEARCH FOR DUPLICATES IN

%23 Configuration

VSCode: 1.94.1
PIO IDE: v3.3.3
System: Windows_NT, 10.0.22631, x64

%23 Exception

Error: 
[notice] A new release of pip is available: 23.2.1 -> 24.2
[notice] To update, run: C:\Users\Lenovo\.platformio\penv\Scripts\python.exe -m pip install --upgrade pip
error: subprocess-exited-with-error

pip subprocess to install build dependencies did not run successfully.
exit code: 1

[10 lines of output]
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting setuptools>=40.8.0
  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/ff/ae/f19306b5a221f6a436d8f2238d5b80925004093fa3edea59835b514d9057/setuptools-75.1.0-py3-none-any.whl (1.2 MB)
Collecting wheel
  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/1b/d1/9babe2ccaecff775992753d8686970b1e2755d21c8a63be73aba7a4e7d77/wheel-0.44.0-py3-none-any.whl (67 kB)
Installing collected packages: wheel, setuptools
ERROR: Cannot set --home and --prefix together

[notice] A new release of pip is available: 23.2.1 -> 24.2
[notice] To update, run: C:\Users\Lenovo\.platformio\penv\Scripts\python.exe -m pip install --upgrade pip
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

pip subprocess to install build dependencies 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.

[notice] A new release of pip is available: 23.2.1 -> 24.2
[notice] To update, run: C:\Users\Lenovo\.platformio\penv\Scripts\python.exe -m pip install --upgrade 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\\Lenovo\\.platformio\\penv\\Scripts\\python.exe', '-m', 'pip', 'install', '-U', 'https://github.com/platformio/platformio/archive/develop.zip']' 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\Lenovo\.platformio\python3\python.exe
Creating a virtual environment at C:\Users\Lenovo\.platformio\penv
Updating Python package manager (PIP) in the virtual environment
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting pip
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/d4/55/90db48d85f7689ec6f81c0db0622d704306c5284850383c090e6c7195a5c/pip-24.2-py3-none-any.whl (1.8 MB)
Installing collected packages: pip
Successfully installed pip-24.2
PIP has been successfully updated!
Virtual environment has been successfully created!
Installing a development version of PlatformIO Core
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting https://github.com/platformio/platformio/archive/develop.zip
Using cached https://github.com/platformio/platformio/archive/develop.zip
Installing build dependencies: started
Installing build dependencies: finished with status 'error'

  at c:\Users\Lenovo\.vscode\extensions\platformio.platformio-ide-3.3.3-win32-x64\node_modules\platformio-node-helpers\dist\index.js:1:5261
  at ChildProcess.i (c:\Users\Lenovo\.vscode\extensions\platformio.platformio-ide-3.3.3-win32-x64\node_modules\platformio-node-helpers\dist\index.js:1:4559)
  at ChildProcess.emit (node:events:519: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)
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