Dear all, I need a partial least squares regression, however my spss version 22 says that i need additional Python packages: NumPy y SciPy. I don't understand how to install these packages, since there is no a executable file or a .spe file in the folder.
Thanks in advance |
The simplest solution is to install the
Anaconda Python distribution from https://store.continuum.io/cshop/anaconda/
Be sure that you choose the 32- or 64-bit distribution to match the bitness of your Statistics installation (see Help > About if in doubt). Once that is done, go to Edit > Options > Files in Statistics and specify the location for the Python distribution installed by Anaconda. You may need to restart Statistics for this to take effect. Jon Peck (no "h") aka Kim Senior Software Engineer, IBM [hidden email] phone: 720-342-5621 From: progster <[hidden email]> To: [hidden email] Date: 05/29/2015 04:20 AM Subject: [SPSSX-L] PLS REGRESSION -PYTHON packages install Sent by: "SPSSX(r) Discussion" <[hidden email]> Dear all, I need a partial least squares regression, however my spss version 22 says that i need additional Python packages: NumPy y SciPy. I don't understand how to install these packages, since there is no a executable file or a .spe file in the folder. Thanks in advance -- View this message in context: http://spssx-discussion.1045642.n5.nabble.com/PLS-REGRESSION-PYTHON-packages-install-tp5729642.html Sent from the SPSSX Discussion mailing list archive at Nabble.com. ===================== 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 ===================== 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 |
thanks Jon, but in Edit > Options > Files SPSS does not allow me to change python location: it's impossible to flag any option.
still running a pls I see in output: "Extension command PLS could not be loaded. The module or a module that it requires may be missing, or there may be syntax errors in it." |
The only situation I know of where that
control would be disabled is if you are running Statistics Server, in which
case an admin would need to make this change. However, another way
to include the newly installed numpy and scipy is this. (This is what I
use.)
Create a file named sitecustomize.py in your <installation directory>\python\lib\site-packages directory, where <installation directory> is wherever you installed Statistics. The contents of the file should be import sys sys.path.append(r"c:/Anaconda/Lib/site-packages") Replace "c:/Anaconda" with whatever location you installed Anaconda in. Then restart Statistics. Jon Peck (no "h") aka Kim Senior Software Engineer, IBM [hidden email] phone: 720-342-5621 From: progster <[hidden email]> To: [hidden email] Date: 05/29/2015 07:04 AM Subject: Re: [SPSSX-L] PLS REGRESSION -PYTHON packages install Sent by: "SPSSX(r) Discussion" <[hidden email]> thanks Jon, but in Edit > Options > Files SPSS does not allow me to change python location: it's impossible to flag any option. still running a pls I see in output: "Extension command PLS could not be loaded. The module or a module that it requires may be missing, or there may be syntax errors in it." -- View this message in context: http://spssx-discussion.1045642.n5.nabble.com/PLS-REGRESSION-PYTHON-packages-install-tp5729642p5729644.html Sent from the SPSSX Discussion mailing list archive at Nabble.com. ===================== 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 ===================== 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 |
From: Jon K Peck <[hidden email]>; To: <[hidden email]>; Subject: Re: [SPSSX-L] PLS REGRESSION -PYTHON packages install Sent: Fri, May 29, 2015 1:21:04 PM
|
Free forum by Nabble | Edit this page |