Hi all- I recently upgraded from V20 to V24. And some formerly functioning python programs no longer work. I copied .spe files across, but at issue seems to be how trans works. From here it appears to be among automatically included extensions: Result of: show extpaths.
C:\ProgramData\IBM\SPSS\Statistics\24\extensions Does have SPSSINC_TRANS file folder in it Example program that worked in v20. BEGIN PROGRAM . import trans, extendedTransforms tproc = trans.Tfunction(listwiseDeletion=True) tproc.append(extendedTransforms.soundex,'soundex','A20',['CompanyName_Notrail']) tproc.append(extendedTransforms.nysiis,'nsyiis','A20',['CompanyName_Notrail']) tproc.execute() END PROGRAM. Traceback (most recent call last): File "", line 2, in
ImportError: No module named trans Any guidance much appreciated. Regards, Brian |
Trams.py is a precursor of the TRANS extension but isn't part of it. You can copy it over or get it from the website. Save it where the extensions are.
On Monday, August 29, 2016, Brian Moore <<a href="javascript:_e(%7B%7D,'cvml','Brian.Moore@worldatwork.org');" target="_blank">Brian.Moore@...> wrote:
-- ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
Free forum by Nabble | Edit this page |