Hey Tatyana,
I installed with the following script, edited from the README:
export BASH_PREFIX=/var/rocket/
export PERL_PREFIX=/var/rocket/
INSTALL=/u/kporter/python/
export RELEASE_NAME=python-2017-04-12
export RELEASE_TYPE=py36 # or py36 or both, to match the download you chose
export RELEASE_DIR=$INSTALL/${RELEASE_NAME}-${RELEASE_TYPE}
export PKGS_BASE=$RELEASE_DIR/pkgs
cd $RELEASE_DIR; ls -ld python27 python36 both
# based on the results of the ls, run one or more of these commands
cd $RELEASE_DIR/python27; bin/install_all_packages
cd $RELEASE_DIR/python36; bin/install_all_packages
cd $RELEASE_DIR/both; bin/install_all_packages
The env
variables you’re looking for probably won’t show, I recently started running python3
with a wrapper shell script because Rocket Python for z/OS breaks Rocket Git for z/OS.
# ROCKET PYTHON
export _BPXK_AUTOCVT=ON
INSTALL=/u/kporter/python/
export RELEASE_NAME=python-2017-04-12
export RELEASE_TYPE=py36 # or py36 or both, to match the download
export RELEASE_DIR=$INSTALL/${RELEASE_NAME}-${RELEASE_TYPE}
export PYTHON_ENV=python36 # pr python36 or both, to match your desired environment
export PYTHON_HOME=$RELEASE_DIR/$PYTHON_ENV
export PATH=$PYTHON_HOME/bin:$PATH
export LIBPATH=$PYTHON_HOME/lib:$LIBPATH
export LIBDIR=$PYTHON_HOME/lib
export FFI_LIB=$PYTHON_HOME/lib/ffi
export TERMINFO=$PYTHON_HOME/share/terminfo
export PKG_CONFIG_PATH=$PYTHON_HOME/lib/pkgconfig:$PYTHON_HOME/share/pkgconfig
export CURL_CA_BUNDLE=$PYTHON_HOME/etc/ssl/cacert.pem
python3