|
Hi,
I've used Python in the past but am now trying to install everything again from scratch.
Steps I have taken:
1. Installed SPSS 15.0 Base
2. Installed Pataches to upgrade to 15.0.1.1
3. Installed Python 2.4.3
4. Installed Python PulgIn for SPSS v15.0.1
Am running Win 7.
Having done all this Python is working with SPSS however non of the core python modules associated with SPSS (ie, spssdata.py/spssaux.py) have downloaded themselves into the relevant folders. I have manually downloaded spssaux, spssaux2 but if simply run "import spssaux2" I get the error:
I think it's simply a case of the modules not being downloaded? Should the job of the plugIn be to do this? Regardless, how do I go about fixing things? Any help, if others have found themselves in this situation would be great.
Many thanks
Jignesh |
|
In the older releases, the plugin install
did not include spssaux, spssdata, and namedtuple. You need to get
those individually from the Developer Central downloads section. You
can just put them in the python24/lib/site-packages directory and you should
be good to go.
HTH, Jon Peck Senior Software Engineer, IBM [hidden email] 312-651-3435 From: Jignesh Sutar <[hidden email]> To: [hidden email] Date: 10/15/2010 07:44 AM Subject: [SPSSX-L] Python & SPSS v15 Sent by: "SPSSX(r) Discussion" <[hidden email]> Hi, I've used Python in the past but am now trying to install everything again from scratch. Steps I have taken: 1. Installed SPSS 15.0 Base 2. Installed Pataches to upgrade to 15.0.1.1 3. Installed Python 2.4.3 4. Installed Python PulgIn for SPSS v15.0.1 Am running Win 7. Having done all this Python is working with SPSS however non of the core python modules associated with SPSS (ie, spssdata.py/spssaux.py) have downloaded themselves into the relevant folders. I have manually downloaded spssaux, spssaux2 but if simply run "import spssaux2" I get the error: Traceback (most recent call last): File "<pyshell#2>", line 1, in -toplevel- import spssaux2 File "C:\Python24\Lib\spssaux2.py", line 4, in -toplevel- import spss, spssaux, spssdata ImportError: No module named spssdata I think it's simply a case of the modules not being downloaded? Should the job of the plugIn be to do this? Regardless, how do I go about fixing things? Any help, if others have found themselves in this situation would be great. Many thanks Jignesh |
| Free forum by Nabble | Edit this page |
