Installing a virtual env around LO Python

Jens Tröger jens.troeger at light-speed.de
Wed Feb 18 20:45:58 PST 2015


Hello,

The question in this email arose from Stephan Bergman's answer to a
stackoverflow thread:

  http://stackoverflow.com/questions/15223209/installing-pyuno-libreoffice-for-p

What is the proper and recommended way of building a Python virtual
environment around the LO Python?  I'd like to ensure that uno is
available and functioning, while at the same time I can install
additional packages into the venv?

Also, I just noticed that on Ubuntu (nor Gentoo) there isn't even a
Python interpreter, in spite of installing the script provider package.
On Mac, there is.

There seem to be various ways of going about this, for example:
  
  http://askubuntu.com/questions/488529/pyvenv-3-4-error-returned-non-zero-exit-
  http://askubuntu.com/questions/412178/how-to-install-pip-for-python-3-in-ubunt

Unfortunately, I didn't find that documented on the LO site.  Or did I
miss something?  I'm somewhat unclear on this whole issue...

Cheers :)
Jens

-- 
Jens Tröger
http://savage.light-speed.de/


More information about the LibreOffice mailing list