Essentials For Python Installation Instructions-Spss-21 PDF
Essentials For Python Installation Instructions-Spss-21 PDF
Overview
IBM® SPSS® Statistics - Essentials for Python provides you with tools you need to start
developing custom Python applications for use with IBM® SPSS® Statistics. It includes the
following:
E The IBM® SPSS® Statistics - Integration Plug-in for Python for SPSS Statistics 21
IBM SPSS Statistics - Essentials for Python: Installation Instructions for Windows
server machine. If you installed the 64-bit version of SPSS Statistics Server then install the 64-bit
version of Essentials for Python on the server machine.
Windows XP
E Double-click the downloaded file and follow the instructions that appear on the screen.
E Using Windows Explorer, browse to the folder where you downloaded the file.
Windows XP
E Insert the DVD/CD into your DVD/CD drive. The AutoPlay feature presents a menu.
E On the AutoPlay menu, click the entry for IBM SPSS Statistics - Essentials for Python, and then
follow the instructions that appear on the screen.
E Close the AutoPlay window that automatically appeared when you inserted the DVD/CD into
your DVD/CD drive.
E Using Windows Explorer, browse to the DVD/CD drive. The installers for the 32-bit and
64-bit versions of IBM® SPSS® Statistics - Essentials for Python are located under the
Windows/Programmability/Python Essentials directory.
E Browse to the appropriate subdirectory, right-click the .exe file and choose Run as Administrator.
Follow the instructions that appear on the screen.
Pushing an installation
As an alternative to the manual installation described above you can push the installation to
Windows computers. This is most useful for network administrators who need to install to
multiple end users.
Note: In order to push the installation, Python 2.7 must already be installed on the target machine.
3
IBM SPSS Statistics - Essentials for Python: Installation Instructions for Windows
<installer_name> /S /v/qn
where <installer_name> is the name of the installer file for IBM® SPSS® Statistics - Essentials
for Python—for example: SPSS_Statistics_PythonEssentials_21000_win32.exe.
Note: If you’re installing from the DVD/CD, the installer files are located under the
Windows/Programmability/Python Essentials directory.
Before you start using the IBM SPSS Statistics - Integration Plug-in
for Python
After you install IBM® SPSS® Statistics - Essentials for Python, you will be able to start
developing Python applications with the IBM® SPSS® Statistics - Integration Plug-in for Python.
Complete documentation for the plug-in is available from the topic “Integration Plug-in for
Python” in the IBM® SPSS® Statistics Help system. It is also available as two separate PDF’s
(one for each of the two interfaces installed by the plug-in) from Programmability > Python
Plug-in and Programmability > Scripting on the SPSS Statistics Help menu.
Download and install auxiliary Python modules for IBM SPSS Statistics
IBM SPSS has created a number of Python modules that build on, and in some cases extend, the
functionality provided with the IBM® SPSS® Statistics - Integration Plug-in for Python. These
modules are optional and require the Integration Plug-in for Python in order to function. The
modules spssdata, spssaux, namedtuple, and extension are included with IBM® SPSS® Statistics
- Essentials for Python. Additional modules are available for download from the SPSS community
at http://www.ibm.com/developerworks/spssdevcentral.
You may want to read the article How to Use Downloaded Python Modules, also available from
the SPSS community. In addition, you may need to download updated versions of auxiliary
modules to take advantage of the new features available with IBM® SPSS® Statistics 21. Check
the SPSS community for updates.
Running multiple versions of IBM SPSS Statistics and the IBM SPSS
Statistics - Integration Plug-in for Python
You can have multiple versions of IBM® SPSS® Statistics on a single machine along with a
separate version of the IBM® SPSS® Statistics - Integration Plug-in for Python for each. For
information on working with multiple versions, see the documentation for the plug-in.
Repairing an installation
If you uninstall and then reinstall the IBM® SPSS® Statistics 21 application or Python 2.7, then
please uninstall and reinstall version 21 of IBM® SPSS® Statistics - Essentials for Python.
4
IBM SPSS Statistics - Essentials for Python: Installation Instructions for Windows
E Uninstall Python version 2.7 from the Windows Control Panel, if desired.
Notes
Help for each of the procedures accessible from the menus is available from the Help button
on the associated dialog box. The help is not, however, integrated with the SPSS Statistics
Help system.
Complete syntax help for each of the commands listed above is available by executing the
command and including the /HELP subcommand—for example:
SPSSINC COMPARE DATASETS /HELP.
The command syntax help is not, however, integrated with the SPSS Statistics Help system
and is not included in the Command Syntax Reference.
5
IBM SPSS Statistics - Essentials for Python: Installation Instructions for Windows
If the Analyze>Descriptive Statistics menu is not present in your IBM® SPSS® Statistics
product, then please look on the Custom menu for the TURF analysis dialog.
The dialogs were created with the Custom Dialog Builder in SPSS Statistics. You can view
the design for any of the dialogs and/or customize them using the Custom Dialog Builder,
available from Utilities>Custom Dialogs>Custom Dialog Builder. To view the design for a
dialog, choose File>Open Installed from within the Custom Dialog Builder.
The syntax commands are implemented as extension commands. The implementation code
(Python modules) and XML specification files for these extension commands can be found in
the extensions directory under the SPSS Statistics installation directory.
If you have specified alternate locations for extension commands with the
SPSS_EXTENSIONS_PATH environment variable then the files will be located in the first
writable location in that variable instead of in the extensions directory.
Other extension commands that are not included in Essentials for Python are available for
download from the SPSS community. Newer versions of the Python procedures packaged
with Essentials for Python may also be available there.