SetDefaultJCVersion Method (Python)
Sets the default version of the IBM® SPSS® Statistics - Integration Plug-in for Python used for Python scripts. This method
is useful when working with multiple versions of the plug-in on a
given machine (see Note below). The value of the argument is a quoted
string or an integer specifying a plug-in version--for example, "SpssClient160"
or 160
for version 16.0. You can view the default using
the GetDefaultJCVersion method.
-
SetDefaultJCVersion
also sets the default version of the IBM SPSS Statistics - Integration Plug-in for Python used for Python programs (Python code that utilizes thespss
module).
Syntax
SpssClient.SetDefaultJCVersion(version)
Note: The methods for managing multiple versions of the plug-in
(SpssClient.GetDefaultJCVersion
, and
SpssClient.SetDefaultJCVersion
) operate within a given Python version, not across
Python versions. For example, if you are driving IBM SPSS Statistics from a Python
IDE installed for Python 3.8 then you can view and control the versions of the plug-in installed for
Python 3.8.