On Sun, Sep 05, 2010 at 03:44:00PM -0700, Soohong Min wrote:
> import uno, unohelper
> Import Error: No module named uno.

Jup.

> After install package for Openoffice 3.2.1.4 on Ubuntu, I tried these
> scripts on Ubuntru, I run it successfully.

Because Ubuntus OOo puts uno.py etc. in the system python path (and uses
system python)

> But after building Openoffice, I cannot run it. (Openoffice is running well)

But a "vanilla" OpenOffice.org install doesn't do that. And the only
way (unless you put all the .pys and the needed .so files into pythons
site-packages) way to do that is to include OpenOffice.orgs internal python
copy.

Yes, counterintuitive and (IMHO) broken, so distros of course use system-python.

Grüße/Regards,

René

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to