Open-source Languages & Tools for z/OS

 View Only
  • 1.  Installing both python 2 and python 3

    Posted 03-30-2020 11:54

    I’m having trouble installing both python 2 and python 3 in my environment. The installation instructions mention that “extra space savings arise if you download the combined release…” which sounds great. Looking at the installation script, it implies that there should be a single archive containing the combined release. The last step below is what I’m referring to.

    export RELEASE_DIR=$INSTALL/${RELEASE_NAME}-${RELEASE_TYPE}
    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
    

    So this implies there should be an archive containing the combined release called:

    python-2017-04-12-both.tar.gz

    However, the only archives available to download are:

    python-2017-04-12-py27.tar.gz
    python-2017-04-12-py36.tar.gz
    

    Am I misunderstanding the directions? If I do what it says, won’t I will just end up with two separate installations without any modules shared between them?



  • 2.  RE: Installing both python 2 and python 3

    ROCKETEER
    Posted 04-02-2020 08:27

    Hi nabecker,

    As I know there was a plan to make combined release with shared libs, but for some reasons this plan was cancelled, but mention about that left in installation instructions, sorry about that.

    Thanks,
    Alexander