Hi,
Listers,
SPSS 22 bundles Python installation file with it and the version is
2.7.1.
I’d like to replace it with the latest 2.7.6. and have tried installing
this version directly on top of 2.7.1 installed in the directory of
statistics>22>Python.
I’ve done this before on stand-alone Python and it worked but for this
Bundled Python, installation on top of the older version doesn’t work.
Can’t simply uninstall Python 2.7.1 either as there is no option of
uninstalling it either in the installation file.
Any thoughts on that?
Thanks!
|
The version of Python installed with Statistics
22 is private - it is not registered. I would expect that you could
install an official Python distribution over it as long as the site-packages
files installed by Statistics 22 are preserved. When you say it does
not work, what actually happens?
A simple workaround would be to install 2.7.6 as a regular Python distribution not under Statistics 22 and then set you Statistics preferences (Edit > Options > Files) to use that version instead of the one installed by Statistics. Jon Peck (no "h") aka Kim Senior Software Engineer, IBM [hidden email] phone: 720-342-5621 From: Chichi Shu <[hidden email]> To: [hidden email], Date: 01/07/2014 09:19 AM Subject: [SPSSX-L] How to update the Python version that comes with SPSS statistics 22? Sent by: "SPSSX(r) Discussion" <[hidden email]> Hi, Listers, SPSS 22 bundles Python installation file with it and the version is 2.7.1. I’d like to replace it with the latest 2.7.6. and have tried installing this version directly on top of 2.7.1 installed in the directory of statistics>22>Python. I’ve done this before on stand-alone Python and it worked but for this Bundled Python, installation on top of the older version doesn’t work. Can’t simply uninstall Python 2.7.1 either as there is no option of uninstalling it either in the installation file. Any thoughts on that? Thanks! |
Thanks Jon.
What happened was that there were no Python.exe or pythonw.exe file created
for 2.7.6 in that folder and IDLE doesn’t start.
From: [hidden email]
Sent: Tuesday, January 07, 2014 11:34 AM
To: [hidden email]
Cc: [hidden email]
Subject: Re: [SPSSX-L] How to update the Python version that comes
with SPSS statistics 22? The version of Python installed with Statistics 22 is
private - it is not registered. I would expect that you could install an
official Python distribution over it as long as the site-packages files
installed by Statistics 22 are preserved. When you say it does not work,
what actually happens? A simple workaround would be to install 2.7.6 as a regular Python distribution not under Statistics 22 and then set you Statistics preferences (Edit > Options > Files) to use that version instead of the one installed by Statistics. Jon Peck (no "h") aka Kim Senior Software Engineer, IBM [hidden email] phone: 720-342-5621 From: Chichi Shu <[hidden email]> To: [hidden email], Date: 01/07/2014 09:19 AM Subject: [SPSSX-L] How to update the Python version that comes with SPSS statistics 22? Sent by: "SPSSX(r) Discussion" <[hidden email]> Hi, Listers, SPSS 22 bundles Python installation file with it and the version is 2.7.1. I’d like to replace it with the latest 2.7.6. and have tried installing this version directly on top of 2.7.1 installed in the directory of statistics>22>Python. I’ve done this before on stand-alone Python and it worked but for this Bundled Python, installation on top of the older version doesn’t work. Can’t simply uninstall Python 2.7.1 either as there is no option of uninstalling it either in the installation file. Any thoughts on that? Thanks! |
That makes me think that the problem wasn't
really related to Python but rather was a permissions problem. If
your Statistics version was under Program Files (assuming Win7 or similar),
you would need to use Run As Administrator to install there.
Jon Peck (no "h") aka Kim Senior Software Engineer, IBM [hidden email] phone: 720-342-5621 From: Chichi Shu <[hidden email]> To: Jon K Peck/Chicago/IBM@IBMUS, Cc: <[hidden email]> Date: 01/07/2014 10:31 AM Subject: Re: [SPSSX-L] How to update the Python version that comes with SPSS Statistics 22? Thanks Jon. What happened was that there were no Python.exe or pythonw.exe file created for 2.7.6 in that folder and IDLE doesn’t start. From: Jon K Peck Sent: Tuesday, January 07, 2014 11:34 AM To: Chichi Shu Cc: [hidden email] Subject: Re: [SPSSX-L] How to update the Python version that comes with SPSS statistics 22? The version of Python installed with Statistics 22 is private - it is not registered. I would expect that you could install an official Python distribution over it as long as the site-packages files installed by Statistics 22 are preserved. When you say it does not work, what actually happens? A simple workaround would be to install 2.7.6 as a regular Python distribution not under Statistics 22 and then set you Statistics preferences (Edit > Options > Files) to use that version instead of the one installed by Statistics. Jon Peck (no "h") aka Kim Senior Software Engineer, IBM [hidden email] phone: 720-342-5621 From: Chichi Shu <[hidden email]> To: [hidden email], Date: 01/07/2014 09:19 AM Subject: [SPSSX-L] How to update the Python version that comes with SPSS statistics 22? Sent by: "SPSSX(r) Discussion" <[hidden email]> Hi, Listers, SPSS 22 bundles Python installation file with it and the version is 2.7.1. I’d like to replace it with the latest 2.7.6. and have tried installing this version directly on top of 2.7.1 installed in the directory of statistics>22>Python. I’ve done this before on stand-alone Python and it worked but for this Bundled Python, installation on top of the older version doesn’t work. Can’t simply uninstall Python 2.7.1 either as there is no option of uninstalling it either in the installation file. Any thoughts on that? Thanks! |
Hi, Jon and Listers,
I tried installing the python MSI file as an Administrator on top of the
existing python installation in the SPSS Statistics 22 python folder. The same
problem still exists.
I suspect that it has something to do with the private Python of SPSS
statistics being not in the registry.
I will just go ahead to install a separate version somewhere else and
change the Python directory in SPSS Statistics Edit option.
I believe in order to use Numpy and SciPy, we need to install these two
libraries into a different distribution of Python anyway.
Thanks!
From: [hidden email]
Sent: Tuesday, January 07, 2014 12:38 PM
To: [hidden email]
Cc: [hidden email]
Subject: Re: [SPSSX-L] How to update the Python version that comes
with SPSS Statistics 22? That makes me think that the problem wasn't really
related to Python but rather was a permissions problem. If your Statistics
version was under Program Files (assuming Win7 or similar), you would need to
use Run As Administrator to install there. Jon Peck (no "h") aka Kim Senior Software Engineer, IBM [hidden email] phone: 720-342-5621 From: Chichi Shu <[hidden email]> To: Jon K Peck/Chicago/IBM@IBMUS, Cc: <[hidden email]> Date: 01/07/2014 10:31 AM Subject: Re: [SPSSX-L] How to update the Python version that comes with SPSS Statistics 22? Thanks Jon. What happened was that there were no Python.exe or pythonw.exe file created for 2.7.6 in that folder and IDLE doesn’t start. From: [hidden email] Sent: Tuesday, January 07, 2014 11:34 AM To: [hidden email] Cc: [hidden email] Subject: Re: [SPSSX-L] How to update the Python version that comes with SPSS statistics 22? The version of Python installed with Statistics 22 is private - it is not registered. I would expect that you could install an official Python distribution over it as long as the site-packages files installed by Statistics 22 are preserved. When you say it does not work, what actually happens? A simple workaround would be to install 2.7.6 as a regular Python distribution not under Statistics 22 and then set you Statistics preferences (Edit > Options > Files) to use that version instead of the one installed by Statistics. Jon Peck (no "h") aka Kim Senior Software Engineer, IBM [hidden email] phone: 720-342-5621 From: Chichi Shu <[hidden email]> To: [hidden email], Date: 01/07/2014 09:19 AM Subject: [SPSSX-L] How to update the Python version that comes with SPSS statistics 22? Sent by: "SPSSX(r) Discussion" <[hidden email]> Hi, Listers, SPSS 22 bundles Python installation file with it and the version is 2.7.1. I’d like to replace it with the latest 2.7.6. and have tried installing this version directly on top of 2.7.1 installed in the directory of statistics>22>Python. I’ve done this before on stand-alone Python and it worked but for this Bundled Python, installation on top of the older version doesn’t work. Can’t simply uninstall Python 2.7.1 either as there is no option of uninstalling it either in the installation file. Any thoughts on that? Thanks! |
In reply to this post by Chichi Shu
CONTENTS DELETED
The author has deleted this message.
|
There are two radio buttons on Edit >
File Locations. If you want to change to a different Python installation,
you need to choose "Other installation of Python 2.7". If
you don't have another 2.7, you would need to install that first. The
version installed with Statistics 22 is a private version in order to avoid
conflicting with some other public version. Some other Python tools
don't let you choose the Python installation to use and insist on a public
version.
Jon Peck (no "h") aka Kim Senior Software Engineer, IBM [hidden email] phone: 720-342-5621 From: Coop197823 <[hidden email]> To: [hidden email], Date: 05/15/2014 02:23 PM Subject: Re: [SPSSX-L] How to update the Python version that comes with SPSS statistics 22? Sent by: "SPSSX(r) Discussion" <[hidden email]> I am having this same issues getting access to other .py modules. however when I go tot change the Python Locations directory, it is greyed out. I am running SPSS 22 x64. Any thoughts on how to get it ungreyed out? -- View this message in context: http://spssx-discussion.1045642.n5.nabble.com/How-to-update-the-Python-version-that-comes-with-SPSS-statistics-22-tp5723815p5726088.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 |
CONTENTS DELETED
The author has deleted this message.
|
Administrator
|
In reply to this post by Jon K Peck
For those of you who read the list via Nabble, here is Coop197823's response to Jon's post about the two radio buttons. For reasons that are beyond me, Coop deleted it from the Nabble archive. Why did you do that, Coop? It is helpful for those searching the archives at some later date to have all of the posts!
Date: Fri, 16 May 2014 06:37:52 -0700 Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU> From: Coop197823 <e-mail hidden> Subject: Re: How to update the Python version that comes with SPSS statistics 22? In-Reply-To: <OFEA2B4A24.AFBA5D45-ON87257CD9.007050CF-87257CD9.0070947E@us.ibm.com> Thanks for the explanation. I did find out what my mistake was....I was trying to change the python directory when I already had a dataset open (consequently the option to change the python directory was greyed out). When I closed all datasets, opened a blank dataset, then went to the file locations, I was able to change that setting. Thanks again for the help! SOURCE: http://listserv.uga.edu/cgi-bin/wa?A2=ind1405&L=spssx-l&F=&S=&P=39161
--
Bruce Weaver bweaver@lakeheadu.ca http://sites.google.com/a/lakeheadu.ca/bweaver/ "When all else fails, RTFM." PLEASE NOTE THE FOLLOWING: 1. My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above. 2. The SPSSX Discussion forum on Nabble is no longer linked to the SPSSX-L listserv administered by UGA (https://listserv.uga.edu/). |
Free forum by Nabble | Edit this page |