Hi Mike,
I had the same problem: I had previously had Python working fine using SPSS version 14.0 and the python integration plug in for SPSS for version 14.0. I applied the patch to take SPSS to version 14.02 and the python plugin for version 14.01 (I wanted to get access to the cursor class which is not available for version 14.00) and encountered the same errors as you did. even the following code would not work. begin program. print "hello" end program. *>Error # 6887. Command name: begin program *>External program failed during initialization. I was running version Python 2.4.4. As a work around I re-installed the plug-in for version 14.0 and this seems fine, but I don't get access to the Cursor class with this version and that was the whole point. On Tue, 31 Jan 2006 11:56:47 -0800, michael healy <[hidden email]> wrote: >Hi, I'm having trouble getting Python 2.4.2 and SPSS 14.01 working together. > >The Python files have been downloaded to >C:\Python24\Lib\site-packages\ > >SPSS is at >C:\Program Files\SPSS14 > >I've run the 14.01 Programmability Extension. > >From the Python Interactive window I get the following error message >assert configOption["SPSSDXVERSION"] >= configOption["SPSSXDVERSION"] > >The following syntax/python program yields the following error message: >begin program. >import spss >end program. > >>Error # 6887. Command name: begin program >>External program failed during initialization. >>This command not executed. > >Any hints or suggestions? >Thanks, Mike |
Before you install the 14.0.1 Plug-In, you must uninstall the 14.0.0 version. Otherwise the msi "repairs" your installation, which reverts the Plug-In (not SPSS) to 14.0.
If you don't have access to the cursor, that means you are actually running the 14.0.0 version, so try uninstalling the Plug-In (from the Control Panel) and installing the 14.0.1 version again. That should clear it up. Note that in 14, the cursor provides only read access to the cases. In 15, you also get write and append access. HTH, Jon Peck -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Jeromy Anglim Sent: Tuesday, November 14, 2006 1:16 AM To: [hidden email] Subject: Re: [SPSSX-L] SPySS setup problems Hi Mike, I had the same problem: I had previously had Python working fine using SPSS version 14.0 and the python integration plug in for SPSS for version 14.0. I applied the patch to take SPSS to version 14.02 and the python plugin for version 14.01 (I wanted to get access to the cursor class which is not available for version 14.00) and encountered the same errors as you did. even the following code would not work. begin program. print "hello" end program. *>Error # 6887. Command name: begin program *>External program failed during initialization. I was running version Python 2.4.4. As a work around I re-installed the plug-in for version 14.0 and this seems fine, but I don't get access to the Cursor class with this version and that was the whole point. On Tue, 31 Jan 2006 11:56:47 -0800, michael healy <[hidden email]> wrote: >Hi, I'm having trouble getting Python 2.4.2 and SPSS 14.01 working together. > >The Python files have been downloaded to >C:\Python24\Lib\site-packages\ > >SPSS is at >C:\Program Files\SPSS14 > >I've run the 14.01 Programmability Extension. > >From the Python Interactive window I get the following error message >assert configOption["SPSSDXVERSION"] >= configOption["SPSSXDVERSION"] > >The following syntax/python program yields the following error message: >begin program. >import spss >end program. > >>Error # 6887. Command name: begin program >>External program failed during initialization. >>This command not executed. > >Any hints or suggestions? >Thanks, Mike |
Free forum by Nabble | Edit this page |