I am using Ubuntu 8.04 IDLE to run the python script Create a
OpenOffice Spreadsheat. I am running on:
Python 2.5.2 (r252:60911, Jul 31 2008, 17:31:22)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
I download ooolib that was ooolib-0.0.16 and a saved it in:
/usr/lib/python2.5/site-packages under sudo command.
When I run the script from IDLE I am getting the error:
Traceback (most recent call last):
File "/home/bobsysero/0SyseroProjects/00Test/oooDabo.py", line 3, in
<module>
import ooolib
ImportError: No module named ooolib
------------------------------------------------------------------------------------
The script start as:
#!/usr/bin/python
import os
import ooolib
#http://ooolib.sourceforge.net
import dabo
import dabo
import pdb
dabo.ui.loadUI("wx")
pdb.trace()
# app:
app = dabo.dApp(MainFormClass=None)
app.setup()
# db:
con = dabo.db.dConnection(DbType='sqlite', Database=':memory:')
------------------------------------------------------------------------
I tried placing the ooolib in the sane folder as my script but and that
did not work. Any ideas?
Bob
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]