-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 issues with "Operation not permitted" and imblearn #12823
Comments
Hello, pip seems to have having trouble opening a socket or using the appropriate system APIs needed to connect to PyPI. This isn't an issue with pip but likely an issue with your system configuration (perhaps you're using some heavily locked user account). To track down the root issue, you could try fetching one of PyPI's pages from a short Python script using import requests
resp = requests.get("https://pypi.org/simple/pip")
resp.raise_for_status()
print(resp.status_code, resp.text[:300]) This should return something similar to...
In either respect, we have limited capacity to provide user support on the issue tracker. You will probably be better served by reaching out to peers or help forums, such as Python Discuss help category, /r/learnpython on reddit, Python Discord's #python-help channel, #python on Libera.chat (IRC), python-list or python-tutor mailing lists, or StackOverflow. |
Closing due to a lack of a response. As mentioned before, we have a limited capacity to provide user support so alternative forums are recommended. |
Description
Whenever I want to install something from pip, I'll always get a warning. The output is :
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', PermissionError(1, 'Operation not permitted'))': /simple/imblearn/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', PermissionError(1, 'Operation not permitted'))': /simple/imblearn/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', PermissionError(1, 'Operation not permitted'))': /simple/imblearn/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', PermissionError(1, 'Operation not permitted'))': /simple/imblearn/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', PermissionError(1, 'Operation not permitted'))': /simple/imblearn/
ERROR: Could not find a version that satisfies the requirement imblearn (from versions: none)
ERROR: No matching distribution found for imblearn
Expected behavior
No response
pip version
24.0
Python version
3.11.4
OS
MacOS Ventura
How to Reproduce
Whenever I use pip, this error always come
Output
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', PermissionError(1, 'Operation not permitted'))': /simple/imblearn/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', PermissionError(1, 'Operation not permitted'))': /simple/imblearn/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', PermissionError(1, 'Operation not permitted'))': /simple/imblearn/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', PermissionError(1, 'Operation not permitted'))': /simple/imblearn/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', PermissionError(1, 'Operation not permitted'))': /simple/imblearn/
ERROR: Could not find a version that satisfies the requirement imblearn (from versions: none)
ERROR: No matching distribution found for imblearn
Code of Conduct
The text was updated successfully, but these errors were encountered: