[Tutor] Virtual environment can't find uno

Jim jf_byrnes at comcast.net
Wed Jun 13 20:55:01 EDT 2018


Running Linux Mint 18.

I have python 3.6 running in a virtual environment.

I want to use a package called oosheet to work with libreoffice calc.
When I try to import it I get the following error:

 >>> import oosheet
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File 
"/home/jfb/EVs/env36/lib/python3.6/site-packages/oosheet/__init__.py", 
line 38, in <module>
     import uno, re, zipfile, types, inspect, tempfile, shutil, subprocess
ModuleNotFoundError: No module named 'uno'

If I do the same thing in the system installed python3 it imports and 
runs with no errors.

python3-uno was installed using apt-get.

How do I get python 3.6 in the virtual environment to find uno?

Thanks,  Jim



More information about the Tutor mailing list