Login  Register

Re: STATS TEXTANALYSIS

Posted by Jon Peck on Apr 16, 2021; 7:12pm
URL: http://spssx-discussion.165.s1.nabble.com/STATS-TEXTANALYSIS-tp5740444p5740452.html

No, no.  Pip is part of the Windows distribution.  You don't need to install it.  The V28 beta uses Python 3.9, but V27 uses 3.8, which is installed with Statistics.  However, with 27, it is still an unregistered Python.  V28 will have a new process that should make this a bit easier.

Here is what I said in the Help.
  • Make sure that you have a registered Python 3 distribution matching the Statistics version you are using. For Statistics version 27, that would be Python 3.8. If you don't have this, go to Python Software Foundation and install from there. Don't install this over the distribution installed with Statistics. After installing it, go to Edit > Options > Files in Statistics and set this location for Python 3.
  • Open a command window, cd to the location of the Python installation, and install nltk and pyspellchecker from the PyPI site:
    pip install nltk
    pip install pyspellchecker
  • Start Python from that location and run this code.
    import nltk
    nltk.download()
    This will display a table of items you can add to your installation. Select at least names and stopwords.
  • Optionally go to spelling dictionary
    as mentioned above and extract the words.txt file from words.zip.
  • Install the SPSSINC TRANS extension command via the Statistics Exensions > Extension Hub menu.

On Fri, Apr 16, 2021 at 11:10 AM Art Kendall <[hidden email]> wrote:
https://phoenixnap.com/kb/install-pip-windows
has us get python 3.9.4 from the windows store. Is it an inconsistency if
SPSS has 3.7?

then it says to download get-pip.py

But I do not know what folder to put that file in.

Now it appears that I have Python3 in 3 places,
1) wherever windows store put it
2) C:\Python37
3) C:\Program Files\IBM\SPSS Statistics\Python3?

if /Within/ SPSS do I put it in
C:\Program Files\IBM\SPSS Statistics\Python3\Lib
or under one of the other folders under lib



-----
Art Kendall
Social Research Consultants
--
Sent from: http://spssx-discussion.1045642.n5.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


--
Jon K Peck
[hidden email]

===================== 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