On 06/13/2018 06:55 PM, Jim wrote:
> 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?

You should be able to pip install uno in the virtualenv, which might be
best.  After all, once you're using a virtualenv, you've already started
down the road of picking depends from upstream, so why not :)



_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to