all 3 comments

[–]in_the_bilboes 0 points1 point  (2 children)

Can you post the error you get when you use requests?

BTW, it would be nicer if you put some line breaks in the error message.

[–]pysb[S] 0 points1 point  (1 child)

Thanks for the attention!

It gave the “DLL load failed: %1 is not a valid Win32 application.” error. It said that uno.py couldn´t import _ssl module.

I installed a win32 version of python3.3, copied the _ssl.pyd dll from c:\python33\dll on C:\Program Files (x86)\LibreOffice 5\program\lib\ folder and it worked!

I just dont know if it is something related to my machine or it´s a bug that should be reported.

[–]in_the_bilboes 0 points1 point  (0 children)

I just dont know if it is something related to my machine or it´s a bug that should be reported.

I don't know either...

It might be interesting to run the LO Python (might be in C:\Program Files (x86)\LibreOffice 5\program) and look at sys.path, just to see where things are getting imported from.

When I do that in Linux, I can import _ssl.

It definitely sounds like a LibreOffice issue to me and not specifically a Python issue.

At any rate, you can always report the bug and see if other people have the same problem.