Use the LibreOffice app in Python (3) Add library

Adding packages to libreoffice's python can be quite tricky. Only in the case of ** windows **, I was able to put it in reasonably well. The environment is LibreOffice 5.0.3 Window 7

Try adding a package to libreoffice python on windows

Put setuptools.

download
http://slproweb.com/download/Win32OpenSSL_Light-1_0_2d.exe
PATH
C:\OpenSSL-Win32\bin

https://bootstrap.pypa.io/ez_setup.py
Use Notepad (or even) to put it in a suitable place, ez_setup.Save py.
python ez_setup.Run py with administrator privileges, easy_PATH to install
C:\Program Files (x86)\LibreOffice 5\program\python-core-3.3.3\Scripts

I tried easy_install with administrator privileges (there are various packages that can or cannot be installed)

With ipython in it, it's a lot easier.

pip works, but it doesn't work.

Also include sqlite

I referred to http://p--q.blogspot.jp/2014/03/libreoffice30pythonsqlite.html

C:\Python33\Lib\sqlite3
C:\Python33\DLLs\_sqlite3.pyd
To
C:\Program Files (x86)\LibreOffice 4\program\python-core-3.3.3\lib
Copy to

C:\Python33\DLLs\sqlite3.dll
To
C:\Program Files (x86)\LibreOffice 4\program
Copy to.

Recommended Posts

Use the LibreOffice app in Python (3) Add library
How to use the C library in Python
Use the LibreOffice app in Python (2) Manipulate calc (from macros and externals)
Using the LibreOffice app in Python (1) Where are the macros?
What is "mahjong" in the Python library? ??
Wrap (part of) the AtCoder Library in Cython for use in Python
Use config.ini in Python
Use dates in Python
How to use Python Image Library in python3 series
Use Valgrind in Python
Use profiler in Python
[Modint] Decoding the AtCoder Library ~ Implementation in Python ~
I wanted to use the Python library from MATLAB
Use the CASA Toolkit in your own Python environment
[Python] How to use the graph creation library Altair
Let's use the open data of "Mamebus" in Python
How to use the model learned in Lobe in Python
Using the National Diet Library Search API in Python
I want to use the R dataset in python
[Internal_math version (2)] Decoding the AtCoder Library ~ Implementation in Python ~
Let's use def in python
Use let expression in Python
Working with LibreOffice in Python
Download the file in Python
Find the difference in Python
Use parameter store in Python
Use MongoDB ODM in Python
Use list-keyed dict in Python
Use Random Forest in Python
Use regular expressions in Python
Use Spyder in Python IDE
In SQLite3, add just two lines and use the extension library (extended SQL function)!
How to debug the Python standard library in Visual Studio
[python] How to use the library Matplotlib for drawing graphs
How to use the __call__ method in a Python class
Notes on how to use marshmallow in the schema library
Use pymol as a python library
Getting the arXiv API in Python
Working with LibreOffice in Python: import
Use fabric as is in python (fabric3)
Save the binary file in Python
Hit the Sesami API in Python
Get the desktop path in Python
How to use Requests (Python Library)
How to use SQLite in Python
Get the script path in Python
In the python command python points to python3.8
Implement the Singleton pattern in Python
Windows10: Install MeCab library in python
Use rospy with virtualenv in Python3
[Python] How to import the library
Hit the web API in Python
How to use Mysql in python
Use the Flickr API from Python
How to use ChemSpider in Python
How to use PubChem in Python
I wrote the queue in Python
Calculate the previous month in Python
Examine the object's class in python
Get the desktop path in Python
Use OpenCV with Python 3 in Window