Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependencies #8

Open
dseverns opened this issue Sep 21, 2020 · 1 comment
Open

Dependencies #8

dseverns opened this issue Sep 21, 2020 · 1 comment

Comments

@dseverns
Copy link

At the start of pyoocalc.py, it imports a module named uno, but the project files do not include a module by that name. Where does one obtain that module? It also was not found in the LibreOffice SDK.

@panpuchkov
Copy link
Owner

Sorry that there is not pip package, hadn't time for it. I'll try to find some time to do it in the nearest time.
You have to install libre/open office python package.

Here is an example for Ubuntu 20.04

sudo apt-get install libreoffice-script-provider-python

and then:

$ cd src/examples/
$ python3 example.py 
PyOOCalc version: 0.0.5
Fields count: 7
Document header is: False
New table name is: Test table name
Cell 'value1': value1
Cell 'value2' value2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants