Open-source Languages & Tools for z/OS

 View Only
Expand all | Collapse all

miniconda install bug

  • 1.  miniconda install bug

    Posted 05-04-2021 08:54
    When installing miniconda via OMVS from a 3270 session there are many times when the INPUT indicator displays on the screen. 

    If one presses ENTER then those enter commands are buffered resulting in a problem at this prompt:

    Configure to use Rocket's secure conda server? [Y/n]

    This prompt should require an explicit reply and not just accept a probably buffered enter to mean Y.

    Please

    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------


  • 2.  RE: miniconda install bug

    Posted 05-04-2021 09:05

    One more installation 'bug'

    After setting up my .bashrc I now get this:

    bash: /u/splbd/conda/etc/profile.d/conda.sh: EDC5111I Permission denied.

    When I look I see this:

    t ISO8859-1 T=on -rw-r--r-- 1 SPLBD SYS1 1760 May 4 05:26 conda.csh
    t ISO8859-1 T=on -rw-r--r-- 1 SPLBD SYS1 5017 May 4 05:26 conda.sh

    Shouldn't conda.sh be rwxr--r-- ?



    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------



  • 3.  RE: miniconda install bug

    Posted 05-04-2021 09:12
    Now that I've 'fixed' that when I get into  OMVS I now get this:

    bash: conda: command not found

    and when I look the PATH has not been updated.

    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------



  • 4.  RE: miniconda install bug

    ROCKETEER
    Posted 05-04-2021 09:18

    Hi Lionel Dyck,

    re "bash: /u/splbd/conda/etc/profile.d/conda.sh: EDC5111I Permission denied."

    Looks like you missed dot and space near conda.sh string in your .bashrc:
    this should be ". /u/splbd/conda/etc/profile.d/conda.sh"



    ------------------------------
    Alexander Klochkov
    Rocket Software
    ------------------------------



  • 5.  RE: miniconda install bug

    Posted 05-04-2021 09:20
    Tried that and it failed with not found.

    I'm doing a clean install to see if that helps.

    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------



  • 6.  RE: miniconda install bug

    Posted 05-04-2021 10:18
    This is what I get with the . in front:

    bash: ./u/splbd/conda/etc/profile.d/conda.sh: EDC5129I No such file or directory.

    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------



  • 7.  RE: miniconda install bug

    ROCKETEER
    Posted 05-04-2021 10:20
    missed space between . and /

    ------------------------------
    Alexander Klochkov
    Rocket Software
    ------------------------------



  • 8.  RE: miniconda install bug

    Posted 05-04-2021 10:23
    that solved the problem - thank you - wasn't clear when I was viewing the PDF.

    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------



  • 9.  RE: miniconda install bug

    Posted 05-04-2021 09:23

    Hi Lionel,
    Thank you for bringing this up. In order to install z/OS Miniconda without error, please, follow the steps in documentation:

    1. Login to your z/OS system using ssh client (e.g. PuTTy) and change directory to the path where you saved Miniconda installation files.

    Since the use case conflicts with documentation we can't consider it as a bug.

    Regarding the second issue, could you share the part of .bashrc that contains /u/splbd/conda/etc/profile.d/conda.sh call?



    ------------------------------
    Tatiana Balaburkina
    Rocket Software
    ------------------------------



  • 10.  RE: miniconda install bug

    Posted 05-04-2021 09:25
    I don't have ssh/putty access to this system. This is a bug as there should be no reason to not use OMVS under ISPF on a 3270.  Please consider this as a bug.

    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------



  • 11.  RE: miniconda install bug

    Posted 05-04-2021 10:46
    Why isn't the https://conda.anaconda.org/zoss-appdev defined as the default channel if the Rocket secure server is not selected?

    What's the secret to making it the default so it doesn't have to be specified in every install command?

    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------



  • 12.  RE: miniconda install bug

    Posted 05-04-2021 11:47
    Lionel,
    Since there are a lot of ways to configure environment we try to give end-users an opportunity to configurate the environment on their own.
    If you know that you are going to install tools only from zoss-appdev channel, you can add it to .condarc with the following command.
    conda config --add channels zoss-appdev
    It will create $HOME/.condarc file.

    ------------------------------
    Tatiana Balaburkina
    Rocket Software
    ------------------------------



  • 13.  RE: miniconda install bug

    Posted 05-04-2021 11:48
    Thank you

    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------



  • 14.  RE: miniconda install bug

    Posted 05-04-2021 12:20
    This would be good to add to the installation pdf.

    Or make it the default if the user does not use the paid for site.

    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------