On Thu, 19 Nov 2020 13:19:07 +0100, Usman Musa wrote:
> When I try to install a package or upgrade pip, using pip install I got
> this error massage.
> WARNING: Retrying (Retry(total=4, connect=None, read=None,
> redirect=None, status=None)) after connection broken by
> 'SSLError(SSLCertVeri
ate verify failed: certificate is not yet valid (_ssl.c:1122)'))':
> /packages/97/f3/c064343ac58d1a54c393a3f66483a29500f644a5918deeb935d28673edd9/virtualenv-20.1.0-py2.py3-none-any.whl
> ERROR: Could not install packages due to an EnvironmentError:
> HTTPSConnectionPool(ho
us=None)) after connection broken by
'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED]
certificate verify failed: certificate is not yet valid (_ssl.c:1122)'))':
/packages/97/f3/c064343ac58d1a54c393a3f66483a29500f644a5918deeb935d28673edd9/virtualenv-20.1.0-py2.py3
On Thu, Nov 12, 2009 at 7:10 AM, Peng Yu wrote:
> On Thu, Nov 12, 2009 at 12:00 AM, alex23 wrote:
>> On Nov 12, 2:46 pm, Peng Yu wrote:
>>> I see Error is derived from EnvironmentError in shutil.py.
>>>
>>> class Error(EnvironmentError):
>>> pa
On Thu, Nov 12, 2009 at 12:00 AM, alex23 wrote:
> On Nov 12, 2:46 pm, Peng Yu wrote:
>> I see Error is derived from EnvironmentError in shutil.py.
>>
>> class Error(EnvironmentError):
>> pass
>>
>> I'm wondering why EnvironmentError can not be rai
On Nov 12, 2:46 pm, Peng Yu wrote:
> I see Error is derived from EnvironmentError in shutil.py.
>
> class Error(EnvironmentError):
> pass
>
> I'm wondering why EnvironmentError can not be raised directly. Why
> Error is raised instead?
This way you can explicitly tr
On Wed, 11 Nov 2009 22:46:34 -0600, Peng Yu wrote:
> I see Error is derived from EnvironmentError in shutil.py.
>
> class Error(EnvironmentError):
> pass
>
> I'm wondering why EnvironmentError can not be raised directly. Why Error
> is raised instead?
Probab
I see Error is derived from EnvironmentError in shutil.py.
class Error(EnvironmentError):
pass
I'm wondering why EnvironmentError can not be raised directly. Why
Error is raised instead?
--
http://mail.python.org/mailman/listinfo/python-list
I've often trouble catching IO errors in general. Now a frequent case
everywhere in an app after I've added a defaultsockettimout.
Is this a legal/right practice to change the Exception tree like this:
socket.error.__bases__ = (EnvironmentError,)
And is there a chance that in future