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

ERROR: Could not install packages due to an OSError: Missing dependencies for SOCKS support. #3001

Closed
Jinstorm opened this issue Jun 22, 2023 · 7 comments
Labels

Comments

@Jinstorm
Copy link

%23 Description of problem
Leave a comment...

BEFORE SUBMITTING, PLEASE SEARCH FOR DUPLICATES IN

%23 Configuration

VSCode: 1.78.2
PIO IDE: v3.2.0
System: Darwin, 19.6.0, x64

%23 Exception

Error: ERROR: Could not install packages due to an OSError: Missing dependencies for SOCKS support.

WARNING: There was an error checking the latest version of pip.
Error: Could not install PlatformIO Core: Command '['/Users/zbz/.platformio/penv/bin/python', '-m', 'pip', 'install', '-U', 'platformio']' returned non-zero exit status 1.
-> Installer version: 1.1.3
Platform: macOS-10.15.7
Python version: 3.9.9 (main, Nov 29 2021, 12:55:48) 
[Clang 10.0.0 (clang-1000.10.44.4)]
Python path: /Users/zbz/.platformio/python3/bin/python3
Creating a virtual environment at /Users/zbz/.platformio/penv
Updating Python package manager (PIP) in a virtual environment
Virtual environment has been successfully created!
Installing PlatformIO Core

  at /Users/zbz/.vscode/extensions/platformio.platformio-ide-3.2.0-darwin-x64/node_modules/platformio-node-helpers/dist/index.js:1:5300
  at ChildProcess.o (/Users/zbz/.vscode/extensions/platformio.platformio-ide-3.2.0-darwin-x64/node_modules/platformio-node-helpers/dist/index.js:1:4598)
  at ChildProcess.emit (node:events:513:28)
  at ChildProcess.emit (node:domain:489:12)
  at maybeClose (node:internal/child_process:1112:16)
  at Socket.<anonymous> (node:internal/child_process:470:11)
  at Socket.emit (node:events:513:28)
  at Socket.emit (node:domain:489:12)
  at Pipe.<anonymous> (node:net:757:14)
@ivankravets
Copy link
Member

Duplicate of platformio/platformio-core#4822

@Jinstorm
Copy link
Author

Thank you, but this issue didn't work for me.

@ivankravets
Copy link
Member

Do you use http_proxy socks5 ?

@ivankravets ivankravets reopened this Jun 22, 2023
@ivankravets ivankravets changed the title Installation Manager ERROR: Could not install packages due to an OSError: Missing dependencies for SOCKS support. Jun 22, 2023
@Jinstorm
Copy link
Author

I close all proxy in setting, but it didn't work.

@ivankravets
Copy link
Member

Have you set any HTTP_PROXY or HTTPS_PROXY environment variables?

@stale
Copy link

stale bot commented Aug 12, 2023

This issue has been automatically marked as stale because it has not had recent activity. Please provide more details or it will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Aug 12, 2023
@ivankravets
Copy link
Member

Duplicate of platformio/platformio-core#4822

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants