Hi Michiko,

It looks like there is an error in the installation of Python and/or the SPSS Python Plugin. You should try to uninstall the SPSS Python Plugin and Python, then re-install Python from this file:

http://www.python.org/ftp/python/2.6/python-2.6.msi

Then download the SPSS Python Plugin (assuming you are using Windows 32-bit):

https://www.ibm.com/developerworks/mydeveloperworks/files/app/person/270002VCWN/file/b25b2e4f-6287-47f7-9936-fd652bb8debe

Now, make sure to open the program using the "Run as Administrator" option in Windows in order to install everything correctly. Once you do this, try CEM again. If you still get errors, please let us know. 

Cheers,
matt.

On Mon, Aug 1, 2011 at 3:56 PM, Michiko Otsuki Clutter <motsuki@mail.usf.edu> wrote:
Hello-
 
I have been trying to install CEM for SPSS 19. I followed every installation step and I think it was successfully installed. But when I run the program, it gives me the error messages as below:
GET
  FILE='E:\Users\Michiko\Desktop\lalonde.sav'.
>Warning.  Command name: GET FILE
>SPSS Statistics data file "E:\Users\Michiko\Desktop\lalonde.sav" is written in a character encoding (ISO_8859-1:1987)
>incompatible with the current LOCALE setting.  It may not be readable.
>Consider changing LOCALE or setting UNICODE on.  (DATA 1721)
DATASET NAME DataSet1 WINDOW=FRONT.
CEM TREATMENT=treated VARIABLES=age education black married nodegree re74 re75.
>Error # 6887.  Command name: BEGIN PROGRAM
>External program failed during initialization.
>Execution of this command stops.
Additional error message: Load Python library failed.
>Error # 6887.  Command name: BEGIN PROGRAM
>External program failed during initialization.
FREQUENCIES VARIABLES=age
  /ORDER=ANALYSIS.
I also followed the instuction for troubleshooting (http://projects.iq.harvard.edu/cem-spss/pages/troubleshooting) so I got no error message on R, so I should be okay on this one.. Can someone please help me figure out what I need to do to successfuly run CEM on SPSS?
Thank you!
 
Michiko Clutter
--
Michiko Otsuki Clutter, PhD
Assistant Professor in Psychology
University of South Florida, St. Petersburg
140 7th Avenue South, Davis Hall 258
St. Petersburg, FL 33701
(TEL) 727-873-4867