IBM Support

PH27327: EXTERNAL PYTHON3 CANNOT FIND PYTHON PLUG-INS

Direct link to fix

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • you have installed SPSS Statistics Subscription for macOS
    10.15.5 (Catalina).  You have also installed Python 3.8.3 from
    python.org and correctly configured SPSS Subscription to use
    this external Python rather than the default Python3 (3.8.2) the
    ships with the product.
    
    You find that Subscription cannot find the  SPSS Statistics
    Python Plug-in modules and files when using the external
    Python3.  when running from command line you see the following
    traceback:
    Traceback (most recent call last):
    File "", line 1, in
    ModuleNotFoundError: No module named 'spss'
    
    WORKAROUND:
    Manually copying from the default python3
    ../lib/python3.8/site-packages to the same location in the
    external python3  works around this issue.
    
    Default Python3 is at
    '/Applications/IBMSPSSStatistics/Subscription/Python3/lib/python
    3.8/site-packages'
    
    External Python3 is at
    '/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
    /site-packages'
    
    Copy these modules:
    SpssClient, spss, spssaux, spssdata
    
    Copy these files:
    extension.py, spssaux2.py
    

Local fix

  • This issue will be addressed in a future release.
    
    An Interim Fix was developed for customers who need the fix
    prior to the next public update of the product.
    
    Download URL:
    http://www.ibm.com/support/fixcentral/quickorder?product=ibm%2FI
    nformation+Management%2FSPSS+Statistics&fixids=SUB-IM-STATC-MAC-
    1461-IF001&source=SAR
    
    
    Note: Interim fixes are limited corrections to specific issues
    reported by one or more customers. They are normally sent only
    to customers who have reported one of the corrected problems,
    and who require  an immediate correction. Interim Fixes do not
    address customer enhancement requests, and not all defect
    corrections can be delivered as Interim Fixes. Due to their
    urgency Interim Fixes undergo only targeted testing of specific
    fixes, not full regression testing. If the fix is not urgently
    required, you may prefer to wait for a scheduled Fix Pack
    Release, which will be fully regression tested. Interim Fix
    corrections, once fully regression tested, are automatically
    included in a future Fix Pack.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of IBM SPSS Statistics On-Prem and IBM SPSS Statistics *
    * Subscription                                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * External Python3 instance cannot find the IBM SPSS           *
    * Statistics Subscription Python Plug-in.                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * This issue has been resolved for IBM SPSS Statistics         *
    * 27.0.1.0 and IBM SPSS Statistics Subscription November 2020  *
    * Update. Please update your installation to  IBM SPSS         *
    * Statistics 27.0.1.0 or IBM SPSS Statistics Subscription      *
    * November 2020 Update as appropriate.                         *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PH27327

  • Reported component name

    SPSS STATISTICS

  • Reported component ID

    5725A54ST

  • Reported release

    Q00

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-07-09

  • Closed date

    2020-11-19

  • Last modified date

    2020-11-19

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLVMB","label":"IBM SPSS Statistics"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Q00"}]

Document Information

Modified date:
20 November 2020