|
|
I am using SPSS version 14 and I installed Python 2.4 and tried to run
sample syntax as follows but got error.
BEGIN PROGRAM.
import spss, spssaux
import os.path, sys
print "\n*** Output from example of GetSPSSInstallDir ***\n"
print "The SPSS install directory is: ",
spssaux.GetSPSSInstallDir("SPSSDIR")
END PROGRAM.
Error is:
Traceback (most recent call last):
File "<string>", line 2, in ?
ImportError: No module named spssaux
I did follow procedures from SPSS and put Python file - spssaux under
C:\Python24\Lib\site-packages.
Any suggestion? Thanks
Gad
|