Re: PyUNO with different Python

2006-02-25 Thread M�ta-MCI
h... I can run OK "hello_world.py". But only with Python-core-2.3 Python 2.4 don't run (conflict-version, or windows error). And, it's not possible to install extensions (like PyWin) to Python-core-2.3 (this destroy the same extensions in my "normal" Python 2.4) I had let down these aspect

Re: PyUNO with different Python

2006-02-23 Thread Michele Petrazzo
Katja Suess wrote: > Thanks. What I have in mind is to write a Python script to generate > PDFs from a set of ODTs. Pay attention that you have a OOo program running somewhere that accept the connection from your zope server (I don't think that you have a X server running on it.) > This script ha

Re: PyUNO with different Python

2006-02-23 Thread Michele Petrazzo
Stefan Behnel wrote: > M�ta-MCI schrieb: >> The second way don't run: >> >> Traceback (most recent call last): File "C:\Program >> Files\OpenOffice.org 2.0\program\hello_world.py", line 1, in? >> import uno File "C:\Program Files\OpenOffice.org >> 2.0\program\uno.py", line 37, in ? import pyuno I

Re: PyUNO with different Python

2006-02-22 Thread Stefan Behnel
Méta-MCI schrieb: > The second way don't run: > > Traceback (most recent call last): > File "C:\Program Files\OpenOffice.org 2.0\program\hello_world.py", line 1, > in? > import uno > File "C:\Program Files\OpenOffice.org 2.0\program\uno.py", line 37, in ? > import pyuno > ImportError:

Re: PyUNO with different Python

2006-02-22 Thread Katja Suess
Michele Petrazzo schrieb: > � wrote: > >>Hi! maybe somebody can give me an hint to my problem setting up PyUNO >>on my Mac to work with my Python not the Python delivered with >>OpenOffice. As said in installation instructions I've set >>OPENOFFICE_PATH="/usr/lib/openoffice/program" export >>PYTH

Re: PyUNO with different Python

2006-02-22 Thread M�ta-MCI
Hi! The second way don't run: Traceback (most recent call last): File "C:\Program Files\OpenOffice.org 2.0\program\hello_world.py", line 1, in? import uno File "C:\Program Files\OpenOffice.org 2.0\program\uno.py", line 37, in ? import pyuno ImportError: Module use of python23.dll con

Re: PyUNO with different Python

2006-02-22 Thread Michele Petrazzo
� wrote: > Hi! maybe somebody can give me an hint to my problem setting up PyUNO > on my Mac to work with my Python not the Python delivered with > OpenOffice. As said in installation instructions I've set > OPENOFFICE_PATH="/usr/lib/openoffice/program" export > PYTHONPATH="$OPENOFFICE_PATH" expor