Python in LibreOffice don't support https?

Aleks_SH xaxulin at mail.ru
Fri Mar 29 20:50:05 UTC 2019


Hi.
I try this python code in LibreOffice 6.2.2 under Win 10:

from urllib.request import urlopen
url = 'https://google.com'
file = urlopen(url)
html = file.read()

And get error: <class 'urllib.error.URLError'>: <urlopen error unknown url
type: https>........

Python in LibreOffice don't support https? 

HTTPS support is only available if the socket module was compiled with SSL
support.

What can I do to enable https?

Thanks.



--
Sent from: http://document-foundation-mail-archive.969070.n3.nabble.com/Dev-f1639786.html


More information about the LibreOffice mailing list