Python library pip install error

Hi,
I’ve just got my beta access to openai and going through initial docs and trying to install python binding/library for openai.

I am running command “pip install --upgrade openai” as per github docs, but it is giving be below error:triveni@mac ~ % pip install --upgrade openai WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', OSError(22, 'Invalid argument'))': /simple/openai/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', OSError(22, 'Invalid argument'))': /simple/openai/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', OSError(22, 'Invalid argument'))': /simple/openai/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', OSError(22, 'Invalid argument'))': /simple/openai/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', OSError(22, 'Invalid argument'))': /simple/openai/ ERROR: Could not find a version that satisfies the requirement openai ERROR: No matching distribution found for openai

I do not have any proxy issue as I am able to exeucte curl and other commands just fine.

Any help is appreciated.

Thank you

Broken pipe indicates network issue. Try this: python - Pip error, OSError Errno 22 invalid argument - Stack Overflow

1 Like

perfect. That stakoverflow IPv6 trick worked. Thank you very much.

2 Likes