Installing and configuring the SMP/E edition
The Program Directory for the product provides detailed specific installation requirements and instructions in Chapter 5 and Chapter 6. For information about the latest APAR fixes, see the Fix list for IBM® Open Enterprise SDK for Python.
The following checklist summarizes the key configuration steps for a successful installation.
- Hardware requirements
-
- z15®™
- z14®/z14 model ZR1
- z13®/z13s®
- zEnterprise® EC12/BC12
- Software requirements
-
- z/OS®
UNIX System Services enabled on any of the following
operating systems:
- z/OS 2.3
- z/OS 2.4, or later
- You must have an OMVS segment to run IBM Open Enterprise SDK for Python.
- Integrated Cryptographic Services Facility (ICSF) must be enabled on systems where IBM Open Enterprise SDK for Python runs. For more information, see ICSF System Programmer's Guide (SC14-7507) and ICSF Administrator's Guide (SC14-7506).
- Optional: Packages that are installed with
pip
might include source that is written in other programming languages. It is your responsibility to ensure that compilers are available for other languages. By default, Python looks for/bin/xlc
in UNIX System Services to compile C modules, and for both/bin/xlc
and/bin/xlc++
to compile C++ modules. The Python interpreter by default uses/bin/xlc
to link these modules.
- z/OS®
UNIX System Services enabled on any of the following
operating systems:
Configuration
- Validate that
/usr/bin/env
exists. If not configured, refer to the instructions in Customization and environment configuration. - Ensure that
/tmp
has at least 660 MB or more of disk space configured. To use an alternative file system, you can set theTMPDIR
environment variable to a directory that has sufficient space.
Default installation location for IBM Open Enterprise SDK for Python
The default Python SMP/E installation location on z/OS is
/usr/lpp/IBM/cyp/v3r9/pyz
.
Environment variables for SMP/E installation
Set the following environment variables before using IBM Open Enterprise SDK for Python.
Configure the PATH
and LIBPATH
environment variables to include
the bin
directories for IBM Open Enterprise
SDK for Python with the following commands:
export PATH=/usr/lpp/IBM/cyp/v3r9/pyz/bin:$PATH
export LIBPATH=/usr/lpp/IBM/cyp/v3r9/pyz/lib:$LIBPATH
export _BPXK_AUTOCVT='ON'
export _CEE_RUNOPTS='FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)'
export _TAG_REDIR_ERR=txt
export _TAG_REDIR_IN=txt
export _TAG_REDIR_OUT=txt
When building packages with distutils
or pip
, you may encounter
build errors related to the compiler argument processing. If you observe these errors while
attempting to build a package or extension, please see setting
CCMODE step in Customization and environment configuration.