Ask Your Question
0

Load a Python Library with Portable Apps LibreOffice 5.4.2.2 on Windows 7?

asked 2018-03-19 06:50:41 +0100

helpdeskaleer@gmail.com gravatar image

Loading a dependency Library in a regular Linux installation of Python is done using pip.

Loading one using Portable Python on Windows, one can use Easy_Installer.exe

But how is this done using a Python installation contained in a Portable Apps version of Python used for writing LibreOffice macros?

edit retag flag offensive close merge delete

Comments

I normally limit myself to the Python libraries that are included with LibreOffice. That way, the code can run on other LibreOffice installations.

Jim K gravatar imageJim K ( 2018-03-28 16:29:10 +0100 )edit

2 Answers

Sort by » oldest newest most voted
0

answered 2020-09-16 23:10:20 +0100

I don't have Win 7, but I test in Win 10 (virtual) with LibreOffice Portable 6.4 and I can install pip in and other libraries. You need locate folder with python.exe and execute it.

I try record video for you.

¿What python libraries you want install?

edit flag offensive delete link more

Comments

This seems like a good enough answer although the question was asked in 2018 (shown only as '18 but mouseover shows the full date) so it is unlikely you will get a response.

Jim K gravatar imageJim K ( 2020-09-16 23:12:28 +0100 )edit

Right, don't look at the date

mauricio gravatar imagemauricio ( 2020-09-17 00:09:14 +0100 )edit
0

answered 2020-09-16 14:28:13 +0100

updated 2020-09-17 09:12:58 +0100

You can either Run Python Interactive Console or install APSO extension and launch Python shell from its menu


  • additional info following Jim's remark:

Despite its title How to install pip in LibreOffice embedded Python… is describing the process of installing pip3/LibreOffice/Windows and loading a dependency library. I did not verify it…

edit flag offensive delete link more

Comments

The question asked how to install libraries such as with pip. Your answer does not seem related.

Jim K gravatar imageJim K ( 2020-09-16 21:25:28 +0100 )edit

Indeed Jim, my bad

LibreOfficiant gravatar imageLibreOfficiant ( 2020-09-17 09:06:31 +0100 )edit

Okay, I removed the downvote.

Jim K gravatar imageJim K ( 2020-09-17 16:37:29 +0100 )edit
Login/Signup to Answer

Question Tools

2 followers

Stats

Asked: 2018-03-19 06:50:41 +0100

Seen: 360 times

Last updated: Sep 17 '20