Ask Your Question
0

How do I install pymsgbox for LibreOffice core python?

asked 2020-01-17 04:57:51 +0100

cwdavi1 gravatar image

I'm using pymsgbox in a script that I run from an LO Basic macro. Outside LO I did a pip install PyMsgBox and then was able to import it into my python script and it worked fine. However when I tried running the script from a basic macro the package wasn't found. How do I install it for LO core python or make it available?

Thank you.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2020-01-17 16:53:20 +0100

cwdavi1 gravatar image

Fumbled it out.

Copied pymsgbox and PyMsgBox-1.0.7-py3.7.egg-info from C:\Users\wayne\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\ to C:\Program Files\LibreOffice\program\python-core-3.5.9\lib\site-packages

Nothing else needed. Works. Is this the right way to do it?

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2020-01-17 04:57:51 +0100

Seen: 12 times

Last updated: Jan 17