|
View:
New views
12 Messages
—
Rating Filter:
Alert me
|
|
|
Getting Started with PythonI am very much struggling to get started with Python. I believe I have
Python correctly installed.... If I go to Start--->Python2.4 the options I have available are: IDLE (Python GUI) Module doc Python (command line) Python Manuals Uninstall Python. I'm testing Python using this example from spsstools.net below but I receive an error message. http://www.spsstools.net/Python/RunMacroOnlyIfThereAreCases.txt >Error # 6886. Command name: BEGIN PROGRAM >The External Program could not be loaded. >This command not executed. Load library from c:\program files\spss\invokepython.dll failed. >Error # 6887. Command name: BEGIN PROGRAM >External program failed during initialization. I've tried numerous other examples from www.spss.com/devcentral but still get the same error message. I've obviously not set something up correctly? Many thanks in advance for your help and suggestions Jignesh ===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@... (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 |
|
|
Re: Getting Started with PythonThis indicates that Python is not correctly set up to work with SPSS.
First, if you are using SPSS 15 or later, you need Python 2.5, not 2.4. (The two can coexist happily on the same machine). Second, have you installed the SPSS Python plugin? If it is not on your CD, you can download it from SPSS Developer Central (www.spss.com/devcentral). Be sure to get the version that matches your SPSS version. Then run a simple test. BEGIN PROGRAM. print "ok" END PROGRAM. If that works, you are ready to roll. If it doesn't we'll have to dig deeper. HTH, Jon Peck -----Original Message----- From: SPSSX(r) Discussion [mailto:SPSSX-L@...] On Behalf Of J Sutar Sent: Thursday, July 03, 2008 11:03 AM To: SPSSX-L@... Subject: [SPSSX-L] Getting Started with Python I am very much struggling to get started with Python. I believe I have Python correctly installed.... If I go to Start--->Python2.4 the options I have available are: IDLE (Python GUI) Module doc Python (command line) Python Manuals Uninstall Python. I'm testing Python using this example from spsstools.net below but I receive an error message. http://www.spsstools.net/Python/RunMacroOnlyIfThereAreCases.txt >Error # 6886. Command name: BEGIN PROGRAM >The External Program could not be loaded. >This command not executed. Load library from c:\program files\spss\invokepython.dll failed. >Error # 6887. Command name: BEGIN PROGRAM >External program failed during initialization. I've tried numerous other examples from www.spss.com/devcentral but still get the same error message. I've obviously not set something up correctly? Many thanks in advance for your help and suggestions Jignesh ===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@... (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 ===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@... (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 |
|
|
Re: Getting Started with PythonThanks Jon,
The link below states that Python 2.5 is for SPSS v16 and that v2.4 is for SPSS v14 or v15, I'm running SPSS v15. So which version of Python should I be running? http://www.spss.com/devcentral/index.cfm?pg=plugins Where exactly do I download the plugin from? I'm not sure which link to follow once I have gone to www.spss.com/devcentral. So there's two things that need to be downloaded. 1. Python software itself from http://www.python.org/download/. 2. SPSS Python plugin from www.spss.com/devcentral. I think it must be the plugin I am missing but unsure where exactly to find this. Thanks Jignesh 2008/7/3 Peck, Jon <peck@...>: > This indicates that Python is not correctly set up to work with SPSS. > > First, if you are using SPSS 15 or later, you need Python 2.5, not 2.4. > (The two can coexist happily on the same machine). > > Second, have you installed the SPSS Python plugin? If it is not on your > CD, you can download it from SPSS Developer Central ( > www.spss.com/devcentral). Be sure to get the version that matches your > SPSS version. > > Then run a simple test. > BEGIN PROGRAM. > print "ok" > END PROGRAM. > > If that works, you are ready to roll. If it doesn't we'll have to dig > deeper. > > HTH, > Jon Peck > > > > -----Original Message----- > From: SPSSX(r) Discussion [mailto:SPSSX-L@...] On Behalf Of J > Sutar > Sent: Thursday, July 03, 2008 11:03 AM > To: SPSSX-L@... > Subject: [SPSSX-L] Getting Started with Python > > I am very much struggling to get started with Python. I believe I have > Python correctly installed.... > > If I go to Start--->Python2.4 the options I have available are: > > IDLE (Python GUI) > Module doc > Python (command line) > Python Manuals > Uninstall Python. > > I'm testing Python using this example from spsstools.net below but I > receive > an error message. > > http://www.spsstools.net/Python/RunMacroOnlyIfThereAreCases.txt > > >Error # 6886. Command name: BEGIN PROGRAM > >The External Program could not be loaded. > >This command not executed. > Load library from c:\program files\spss\invokepython.dll failed. > >Error # 6887. Command name: BEGIN PROGRAM > >External program failed during initialization. > > > I've tried numerous other examples from www.spss.com/devcentral but still > get the same error message. > > I've obviously not set something up correctly? > > Many thanks in advance for your help and suggestions > > Jignesh > > ===================== > To manage your subscription to SPSSX-L, send a message to > LISTSERV@... (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 > ===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@... (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 |
|
|
Re: Getting Started with PythonProblem solved.
It was just the plugin I was missing, which I somehow missed from this link http://www.spss.com/devcentral/index.cfm?pg=plugins. 2008/7/4 J Sutar <jsutar@...>: > Thanks Jon, > > The link below states that Python 2.5 is for SPSS v16 and that v2.4 is for > SPSS v14 or v15, I'm running SPSS v15. So which version of Python should I > be running? > > http://www.spss.com/devcentral/index.cfm?pg=plugins > > Where exactly do I download the plugin from? I'm not sure which link to > follow once I have gone to www.spss.com/devcentral. > > > So there's two things that need to be downloaded. > 1. Python software itself from http://www.python.org/download/. > 2. SPSS Python plugin from www.spss.com/devcentral. > > I think it must be the plugin I am missing but unsure where exactly to find > this. > > Thanks > Jignesh > > 2008/7/3 Peck, Jon <peck@...>: > > This indicates that Python is not correctly set up to work with SPSS. >> >> First, if you are using SPSS 15 or later, you need Python 2.5, not 2.4. >> (The two can coexist happily on the same machine). >> >> Second, have you installed the SPSS Python plugin? If it is not on your >> CD, you can download it from SPSS Developer Central ( >> www.spss.com/devcentral). Be sure to get the version that matches your >> SPSS version. >> >> Then run a simple test. >> BEGIN PROGRAM. >> print "ok" >> END PROGRAM. >> >> If that works, you are ready to roll. If it doesn't we'll have to dig >> deeper. >> >> HTH, >> Jon Peck >> >> >> >> -----Original Message----- >> From: SPSSX(r) Discussion [mailto:SPSSX-L@...] On Behalf Of >> J Sutar >> Sent: Thursday, July 03, 2008 11:03 AM >> To: SPSSX-L@... >> Subject: [SPSSX-L] Getting Started with Python >> >> I am very much struggling to get started with Python. I believe I have >> Python correctly installed.... >> >> If I go to Start--->Python2.4 the options I have available are: >> >> IDLE (Python GUI) >> Module doc >> Python (command line) >> Python Manuals >> Uninstall Python. >> >> I'm testing Python using this example from spsstools.net below but I >> receive >> an error message. >> >> http://www.spsstools.net/Python/RunMacroOnlyIfThereAreCases.txt >> >> >Error # 6886. Command name: BEGIN PROGRAM >> >The External Program could not be loaded. >> >This command not executed. >> Load library from c:\program files\spss\invokepython.dll failed. >> >Error # 6887. Command name: BEGIN PROGRAM >> >External program failed during initialization. >> >> >> I've tried numerous other examples from www.spss.com/devcentral but still >> get the same error message. >> >> I've obviously not set something up correctly? >> >> Many thanks in advance for your help and suggestions >> >> Jignesh >> >> ===================== >> To manage your subscription to SPSSX-L, send a message to >> LISTSERV@... (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 >> > > ===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@... (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 |
|
|
Re: Getting Started with PythonHi everyone,
May I know what would python can do to us? JT --- On Thu, 7/3/08, Peck, Jon <peck@...> wrote: From: Peck, Jon <peck@...> Subject: Re: Getting Started with Python To: SPSSX-L@... Date: Thursday, July 3, 2008, 5:19 PM This indicates that Python is not correctly set up to work with SPSS. First, if you are using SPSS 15 or later, you need Python 2.5, not 2.4. (The two can coexist happily on the same machine). Second, have you installed the SPSS Python plugin? If it is not on your CD, you can download it from SPSS Developer Central (www.spss.com/devcentral). Be sure to get the version that matches your SPSS version. Then run a simple test. BEGIN PROGRAM. print "ok" END PROGRAM. If that works, you are ready to roll. If it doesn't we'll have to dig deeper. HTH, Jon Peck -----Original Message----- From: SPSSX(r) Discussion [mailto:SPSSX-L@...] On Behalf Of J Sutar Sent: Thursday, July 03, 2008 11:03 AM To: SPSSX-L@... Subject: [SPSSX-L] Getting Started with Python I am very much struggling to get started with Python. I believe I have Python correctly installed.... If I go to Start--->Python2.4 the options I have available are: IDLE (Python GUI) Module doc Python (command line) Python Manuals Uninstall Python. I'm testing Python using this example from spsstools.net below but I receive an error message. http://www.spsstools.net/Python/RunMacroOnlyIfThereAreCases.txt >Error # 6886. Command name: BEGIN PROGRAM >The External Program could not be loaded. >This command not executed. Load library from c:\program files\spss\invokepython.dll failed. >Error # 6887. Command name: BEGIN PROGRAM >External program failed during initialization. I've tried numerous other examples from www.spss.com/devcentral but still get the same error message. I've obviously not set something up correctly? Many thanks in advance for your help and suggestions Jignesh ===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@... (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 ===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@... (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 ===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@... (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 |
|
|
Re: Getting Started with PythonThere are several good sources of information on Python and SPSS. From SPSS Developer Central (www.spss.com/devcentral), I would suggest the Programming and Data Management for SPSS 16 book (see link in lower right corner of the page) and the PowerPoint presentations on that page
Programmability in SPSS 14, 15, and 16 or the presentations under the All Articles link. HTH, Jon Peck ________________________________ From: Juanito Talili [mailto:talilij@...] Sent: Friday, July 04, 2008 2:44 AM To: SPSSX-L@...; Peck, Jon Subject: Re: Getting Started with Python Hi everyone, May I know what would python can do to us? JT --- On Thu, 7/3/08, Peck, Jon <peck@...> wrote: From: Peck, Jon <peck@...> Subject: Re: Getting Started with Python To: SPSSX-L@... Date: Thursday, July 3, 2008, 5:19 PM This indicates that Python is not correctly set up to work with SPSS. First, if you are using SPSS 15 or later, you need Python 2.5, not 2.4. (The two can coexist happily on the same machine). Second, have you installed the SPSS Python plugin? If it is not on your CD, you can download it from SPSS Developer Central (www.spss.com/devcentral). Be sure to get the version that matches your SPSS version. Then run a simple test. BEGIN PROGRAM. print "ok" END PROGRAM. If that works, you are ready to roll. If it doesn't we'll have to dig deeper. HTH, Jon Peck -----Original Message----- From: SPSSX(r) Discussion [mailto:SPSSX-L@...] On Behalf Of J Sutar Sent: Thursday, July 03, 2008 11:03 AM To: SPSSX-L@... Subject: [SPSSX-L] Getting Started with Python I am very much struggling to get started with Python. I believe I have Python correctly installed.... If I go to Start--->Python2.4 the options I have available are: IDLE (Python GUI) Module doc Python (command line) Python Manuals Uninstall Python. I'm testing Python using this example from spsstools.net below but I receive an error message. http://www.spsstools.net/Python/RunMacroOnlyIfThereAreCases.txt >Error # 6886. Command name: BEGIN PROGRAM >The External Program could not be loaded. >This command not executed. Load library from c:\program files\spss\invokepython.dll failed. >Error # 6887. Command name: BEGIN PROGRAM >External program failed during initialization. I've tried numerous other examples from www.spss.com/devcentral but still get the same error message. I've obviously not set something up correctly? Many thanks in advance for your help and suggestions Jignesh ===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@... (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 ===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@... (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 |
|
|
Re: Getting Started with PythonMy company could benefit from SPSS programming, so I am looking to get
into it, but I'm not a programmer. I know SPSS syntax but I haven't gotten into macros. I think Python is the way to go, so I'm looking for some onsite training for my company. I've tried the SPSS training department, but unfortunately, they have been unresponsive, so I'm looking for help elsewhere. Any suggestions? Thanks! Carolyn ________________________________________________________________________ ____________________________ Carolyn Catenhauser, M.A. | Service Management Group | Research Manager | ccatenhauser@... | 816.841.5611 -----Original Message----- From: SPSSX(r) Discussion [mailto:SPSSX-L@...] On Behalf Of Peck, Jon Sent: Friday, July 04, 2008 8:13 AM To: SPSSX-L@... Subject: Re: Getting Started with Python There are several good sources of information on Python and SPSS. From SPSS Developer Central (www.spss.com/devcentral), I would suggest the Programming and Data Management for SPSS 16 book (see link in lower right corner of the page) and the PowerPoint presentations on that page Programmability in SPSS 14, 15, and 16 or the presentations under the All Articles link. HTH, Jon Peck ________________________________ From: Juanito Talili [mailto:talilij@...] Sent: Friday, July 04, 2008 2:44 AM To: SPSSX-L@...; Peck, Jon Subject: Re: Getting Started with Python Hi everyone, May I know what would python can do to us? JT --- On Thu, 7/3/08, Peck, Jon <peck@...> wrote: From: Peck, Jon <peck@...> Subject: Re: Getting Started with Python To: SPSSX-L@... Date: Thursday, July 3, 2008, 5:19 PM This indicates that Python is not correctly set up to work with SPSS. First, if you are using SPSS 15 or later, you need Python 2.5, not 2.4. (The two can coexist happily on the same machine). Second, have you installed the SPSS Python plugin? If it is not on your CD, you can download it from SPSS Developer Central (www.spss.com/devcentral). Be sure to get the version that matches your SPSS version. Then run a simple test. BEGIN PROGRAM. print "ok" END PROGRAM. If that works, you are ready to roll. If it doesn't we'll have to dig deeper. HTH, Jon Peck -----Original Message----- From: SPSSX(r) Discussion [mailto:SPSSX-L@...] On Behalf Of J Sutar Sent: Thursday, July 03, 2008 11:03 AM To: SPSSX-L@... Subject: [SPSSX-L] Getting Started with Python I am very much struggling to get started with Python. I believe I have Python correctly installed.... If I go to Start--->Python2.4 the options I have available are: IDLE (Python GUI) Module doc Python (command line) Python Manuals Uninstall Python. I'm testing Python using this example from spsstools.net below but I receive an error message. http://www.spsstools.net/Python/RunMacroOnlyIfThereAreCases.txt >Error # 6886. Command name: BEGIN PROGRAM >The External Program could not be loaded. >This command not executed. Load library from c:\program files\spss\invokepython.dll failed. >Error # 6887. Command name: BEGIN PROGRAM >External program failed during initialization. I've tried numerous other examples from www.spss.com/devcentral but still get the same error message. I've obviously not set something up correctly? Many thanks in advance for your help and suggestions Jignesh ===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@... (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 ===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@... (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 ##################################################################################### This email and any attachments thereto may contain private, confidential, and privileged material for the sole use of the intended recipient. Any review, copying, or distribution of this email (or any attachments thereto) by others is strictly prohibited. If you are not the intended recipient, please contact the sender immediately and permanently delete the original and any copies of this email and any attachments thereto. ##################################################################################### ====================To manage your subscription to SPSSX-L, send a message to LISTSERV@... (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 |
|
|
|
|
|
Re: Getting Started with PythonHello everyone,
Syntax for SPSS Principal Components Analysis with Horn’s parallel analysis to determine significant eigenvalues is highly solicited. Thank you. J. Amora ====================To manage your subscription to SPSSX-L, send a message to LISTSERV@... (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 |
|
|
Re: Getting Started with PythonWhat does this have to do with the Getting Started with Python thread?
-----Original Message----- From: SPSSX(r) Discussion [mailto:SPSSX-L@...] On Behalf Of Johnny Amora Sent: Tuesday, July 08, 2008 7:09 PM To: SPSSX-L@... Subject: Re: Getting Started with Python Hello everyone, Syntax for SPSS Principal Components Analysis with Horn?s parallel analysis to determine significant eigenvalues is highly solicited. Thank you. J. Amora ======= To manage your subscription to SPSSX-L, send a message to LISTSERV@... (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 ===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@... (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 |
|
|
SPSS Principal Components Analysis with Horn?s parallel analysisHello everyone,
Syntax for SPSS Principal Components Analysis with Horn?s parallel analysis to determine significant eigenvalues is highly solicited. Thank you. J. Amora ====================To manage your subscription to SPSSX-L, send a message to LISTSERV@... (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 |
|
|
Re: SPSS Principal Components Analysis with Horn?s parallel analysisJohnny Amora escribió:
> Hello everyone, > > Syntax for SPSS Principal Components Analysis with Horn?s parallel analysis > to determine significant eigenvalues is highly solicited. > > This is what you need: http://flash.lakeheadu.ca/~boconno2/nfactors.html Best regards, Marta García-Granero -- For miscellaneous statistical stuff, visit: http://gjyp.nl/marta/ ===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@... (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 Powered by Nabble | Forum Help |