You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error:
ERROR out: HTTPSConnectionPool(host='translate.google.com', port=443): Max retries exceeded with url: /m?tl=pt&sl=en&q=my+name+is+python(Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)')))
My Code:
from deep_translator import GoogleTranslator
translator = GoogleTranslator(source='en', target='pt')
data = 'my name is python'
translator.translate(data)
The text was updated successfully, but these errors were encountered:
@souravkrpathak This looks like an issue with your system. It is not related to deep-translator.
Make sure that your system is configured correctly, you can find many examples about this error online.
I guess, I can allow arguments to be passed to deep-translator under the hood as a hack (specifically the verify=False argument), but this is not a good idea for security reasons. So the best option would be from your side to verify your configuration.
Description
Error:
ERROR out: HTTPSConnectionPool(host='translate.google.com', port=443): Max retries exceeded with url: /m?tl=pt&sl=en&q=my+name+is+python(Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)')))
My Code:
from deep_translator import GoogleTranslator
translator = GoogleTranslator(source='en', target='pt')
data = 'my name is python'
translator.translate(data)
The text was updated successfully, but these errors were encountered: