Date: Tue, 4 Jul 2006 15:01:44 -0500
Reply-To: "Peck, Jon" <peck@spss.com>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: "Peck, Jon" <peck@spss.com>
Subject: Re: Python is still not running (better: spss is not
running from python)
Content-Type: text/plain; charset="UTF-8"
I think it is likely that you have SPSS 14.0.2 but the wrong version of the Plug-In, since running spss from Python was added via the 14.0.1 Plug-In. Also access to the case data from Python was added in that release. Upgrading SPSS to 14.0.2 does not upgrade the Plug-In. You need to uninstall the Plug-In you have, download the 14.0.1 version from Developer Central (www.spss.com/devcentral), and install it.
Another way to check is to enter the following Python statement
from spss import Cursor
If you get a message like
ImportError: cannot import name Cursor
then you can be sure, since Cursor was part of 14.0.1 (14.0.1 works for 14.0.2 also).
If none of this solves the problem, please contact Technical Support for further help.
Regards,
Jon Peck
SPSS
-----Original Message-----
From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU] On Behalf Of Heiko Klemm
Sent: Tuesday, July 04, 2006 9:02 AM
To: SPSSX-L@LISTSERV.UGA.EDU
Subject: [SPSSX-L] Python is still not running (better: spss is not running from python)
Here is some more Information:
- I CAN run python from the Syntax window. But I CAN'T run spss from the
Python IDE.
- I patched to 14.0.2 before I started to use python.
Thanx again for your help
Heiko Klemm
MRSC
Deutsche Post World Net
Business Consulting GmbH
Market Research Service Center
Tulpenfeld 2
53113 Bonn
Germany
T. +49 228 2435 740
mailto:Heiko.Klemm@dpwnbc.net <mailto:Heiko.Kklemm@dpwnbc.net>