Getting the following error when trying to run SPSS from an external Python IDE.
import spss
yields the following error
Traceback (most recent call last):
File "C:Documents and SettingsUSERworkspaceSPSSsrcNE ASQ 2010.py", line 6, in <module>
import spss
File "C:Python26Libsite-packagesspss180spssspss.py", line 16, in <module>
error = errCode()
File "C:Python26Libsite-packagesspss180spsserrMsg.py", line 24, in __init__
self.errMsg = errTable[ okay ][str(0)]
KeyError: okay
Ran the Python essentials plug-in with no errors. Funny thing is that I dont get an error when I run this in a syntax
BEGIN PROGRAM PYTHON.
import spss
num = spss.GetVariableCount()
print num
END PROGRAM.
Any help will be much appreciated.
Brock