Skip to main content

Hi ,

I downloaded the latest files: 

appdev_manifest_2.0.1.txt
miniconda-zos-2.0-2022-01-17.run

1) I was able to successfully execute the installation script : miniconda-zos-2.0-2022-01-17.run  (we don't have access to Rocket secure server) 

./miniconda-zos-2.0-2022-01-17.run  --path /u/q3bbgx8/miniconda 

Downloading and Extracting Packages
*-None | | ########## | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Creating .condarc file...
Configure to use Rocket's secure conda server? ÝY/n¨ n
Installation successful.
bash-4.3$

2) I am also able to create a conda environment : 

bash-4.3$ cd /u/q3bbgx8/miniconda/bin
bash-4.3$ ./conda create -n GCC
Solving environment: done

## Package Plan ##

environment location: /u/q3bbgx8/miniconda/envs/GCC


Proceed (Ýy¨/n)? y

Preparing transaction: done
Verifying transaction: done
Executing transaction: done

3) I fail when attemptingto activate it : 

bash-4.3$ ./conda activate GCC

CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
If your shell is Bash or a Bourne variant, enable conda for the current user with

$ echo ". /u/q3bbgx8/miniconda/etc/profile.d/conda.sh" >> ~/.bashrc



$ sudo ln -s /u/q3bbgx8/miniconda/etc/profile.d/conda.sh /etc/profile.d/conda.sh

The options above will permanently enable the 'conda' command, but they do NOT
put conda's base (root) environment on PATH. To do so, run

$ conda activate

in your terminal, or to put the base environment on PATH permanently, run

$ echo "conda activate" >> ~/.bashrc

Previous to conda 4.4, the recommended way to activate conda was to modify PATH in
your ~/.bashrc file. You should manually remove the line that looks like

export PATH="/u/q3bbgx8/miniconda/bin:$PATH"

¬¬¬ The above line should NO LONGER be in your ~/.bashrc file! ¬¬¬

4) I tried the following command but it made no difference :  echo ". /u/q3bbgx8/miniconda/etc/profile.d/conda.sh" >> ~/.bashrc

my /u/q3bgx8/.profile looks as follows : 

PATH=/usr/lpp/java/J8.0_64/bin:$PATH
LIBPATH=/usr/lpp/java/J8.0_64/lib:$LIBPATH
LD_LIBRARY_PATH=/usr/lpp/java/J8.0_64/lib:$LD_LIBRARY_PATH=/lib
export JAVA_HOME=/usr/lpp/java/J8.0_64
export PATH LIBPATH LD_LIBRARY_PATH
export _BPXK_AUTOCVT=ON
export _CEE_RUNOPTS='FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)'
SHELL=/u/q3bbgx8/miniconda/bin/bash
exec $SHELL
echo $_SC_ARG_MAX


5) conda env list  yeilds the following :

# conda environments:
#
base * /u/q3bbgx8/miniconda
GCC /u/q3bbgx8/miniconda/envs/GCC


Can you please advise if something in my environment is messed up.  I was able to  activate a conda  environment in the past but no longer able to do so .,

Thanks,

Marco Passaretti 




 

Hi ,

I downloaded the latest files: 

appdev_manifest_2.0.1.txt
miniconda-zos-2.0-2022-01-17.run

1) I was able to successfully execute the installation script : miniconda-zos-2.0-2022-01-17.run  (we don't have access to Rocket secure server) 

./miniconda-zos-2.0-2022-01-17.run  --path /u/q3bbgx8/miniconda 

Downloading and Extracting Packages
*-None | | ########## | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Creating .condarc file...
Configure to use Rocket's secure conda server? ÝY/n¨ n
Installation successful.
bash-4.3$

2) I am also able to create a conda environment : 

bash-4.3$ cd /u/q3bbgx8/miniconda/bin
bash-4.3$ ./conda create -n GCC
Solving environment: done

## Package Plan ##

environment location: /u/q3bbgx8/miniconda/envs/GCC


Proceed (Ýy¨/n)? y

Preparing transaction: done
Verifying transaction: done
Executing transaction: done

3) I fail when attemptingto activate it : 

bash-4.3$ ./conda activate GCC

CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
If your shell is Bash or a Bourne variant, enable conda for the current user with

$ echo ". /u/q3bbgx8/miniconda/etc/profile.d/conda.sh" >> ~/.bashrc



$ sudo ln -s /u/q3bbgx8/miniconda/etc/profile.d/conda.sh /etc/profile.d/conda.sh

The options above will permanently enable the 'conda' command, but they do NOT
put conda's base (root) environment on PATH. To do so, run

$ conda activate

in your terminal, or to put the base environment on PATH permanently, run

$ echo "conda activate" >> ~/.bashrc

Previous to conda 4.4, the recommended way to activate conda was to modify PATH in
your ~/.bashrc file. You should manually remove the line that looks like

export PATH="/u/q3bbgx8/miniconda/bin:$PATH"

¬¬¬ The above line should NO LONGER be in your ~/.bashrc file! ¬¬¬

4) I tried the following command but it made no difference :  echo ". /u/q3bbgx8/miniconda/etc/profile.d/conda.sh" >> ~/.bashrc

my /u/q3bgx8/.profile looks as follows : 

PATH=/usr/lpp/java/J8.0_64/bin:$PATH
LIBPATH=/usr/lpp/java/J8.0_64/lib:$LIBPATH
LD_LIBRARY_PATH=/usr/lpp/java/J8.0_64/lib:$LD_LIBRARY_PATH=/lib
export JAVA_HOME=/usr/lpp/java/J8.0_64
export PATH LIBPATH LD_LIBRARY_PATH
export _BPXK_AUTOCVT=ON
export _CEE_RUNOPTS='FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)'
SHELL=/u/q3bbgx8/miniconda/bin/bash
exec $SHELL
echo $_SC_ARG_MAX


5) conda env list  yeilds the following :

# conda environments:
#
base * /u/q3bbgx8/miniconda
GCC /u/q3bbgx8/miniconda/envs/GCC


Can you please advise if something in my environment is messed up.  I was able to  activate a conda  environment in the past but no longer able to do so .,

Thanks,

Marco Passaretti 




 

Hi Marco,

Please download zOS Miniconda Documentation.pdf from the customer portal also and check "Installing z/OS Miniconda" section", especially details after "Each end user who needs access to Miniconda should have following settings in a Bash startup file: "

Thanks,
Alexander



------------------------------
Alexander Klochkov
QA
Rocket Internal - All Brands
Vilnius LT
------------------------------

Hi ,

I downloaded the latest files: 

appdev_manifest_2.0.1.txt
miniconda-zos-2.0-2022-01-17.run

1) I was able to successfully execute the installation script : miniconda-zos-2.0-2022-01-17.run  (we don't have access to Rocket secure server) 

./miniconda-zos-2.0-2022-01-17.run  --path /u/q3bbgx8/miniconda 

Downloading and Extracting Packages
*-None | | ########## | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Creating .condarc file...
Configure to use Rocket's secure conda server? ÝY/n¨ n
Installation successful.
bash-4.3$

2) I am also able to create a conda environment : 

bash-4.3$ cd /u/q3bbgx8/miniconda/bin
bash-4.3$ ./conda create -n GCC
Solving environment: done

## Package Plan ##

environment location: /u/q3bbgx8/miniconda/envs/GCC


Proceed (Ýy¨/n)? y

Preparing transaction: done
Verifying transaction: done
Executing transaction: done

3) I fail when attemptingto activate it : 

bash-4.3$ ./conda activate GCC

CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
If your shell is Bash or a Bourne variant, enable conda for the current user with

$ echo ". /u/q3bbgx8/miniconda/etc/profile.d/conda.sh" >> ~/.bashrc



$ sudo ln -s /u/q3bbgx8/miniconda/etc/profile.d/conda.sh /etc/profile.d/conda.sh

The options above will permanently enable the 'conda' command, but they do NOT
put conda's base (root) environment on PATH. To do so, run

$ conda activate

in your terminal, or to put the base environment on PATH permanently, run

$ echo "conda activate" >> ~/.bashrc

Previous to conda 4.4, the recommended way to activate conda was to modify PATH in
your ~/.bashrc file. You should manually remove the line that looks like

export PATH="/u/q3bbgx8/miniconda/bin:$PATH"

¬¬¬ The above line should NO LONGER be in your ~/.bashrc file! ¬¬¬

4) I tried the following command but it made no difference :  echo ". /u/q3bbgx8/miniconda/etc/profile.d/conda.sh" >> ~/.bashrc

my /u/q3bgx8/.profile looks as follows : 

PATH=/usr/lpp/java/J8.0_64/bin:$PATH
LIBPATH=/usr/lpp/java/J8.0_64/lib:$LIBPATH
LD_LIBRARY_PATH=/usr/lpp/java/J8.0_64/lib:$LD_LIBRARY_PATH=/lib
export JAVA_HOME=/usr/lpp/java/J8.0_64
export PATH LIBPATH LD_LIBRARY_PATH
export _BPXK_AUTOCVT=ON
export _CEE_RUNOPTS='FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)'
SHELL=/u/q3bbgx8/miniconda/bin/bash
exec $SHELL
echo $_SC_ARG_MAX


5) conda env list  yeilds the following :

# conda environments:
#
base * /u/q3bbgx8/miniconda
GCC /u/q3bbgx8/miniconda/envs/GCC


Can you please advise if something in my environment is messed up.  I was able to  activate a conda  environment in the past but no longer able to do so .,

Thanks,

Marco Passaretti 




 

>> 4) I tried the following command but it made no difference :  echo ". /u/q3bbgx8/miniconda/etc/profile.d/conda.sh" >> ~/.bashrc

Did you try to restart your ssh terminal after that?



------------------------------
Alexander Klochkov
QA
Rocket Internal - All Brands
Vilnius LT
------------------------------

>> 4) I tried the following command but it made no difference :  echo ". /u/q3bbgx8/miniconda/etc/profile.d/conda.sh" >> ~/.bashrc

Did you try to restart your ssh terminal after that?



------------------------------
Alexander Klochkov
QA
Rocket Internal - All Brands
Vilnius LT
------------------------------

Hi Alexander.

Thanks for your replies .

I logged off/on to uss ,but to no avail after executing this command : echo ". /u/q3bbgx8/miniconda/etc/profile.d/conda.sh" >> ~/.bashrc

my .profile has the following commands in it : 

export _BPXK_AUTOCVT=ON
export _CEE_RUNOPTS='FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)'
SHELL=/u/q3bbgx8/miniconda/bin/bash
exec $SHELL


Regards,

Marco 



------------------------------
Marco Passaretti
System Programmer
Royal Bank of Canada
West Toronto ON CA
------------------------------


Hi Alexander.

Thanks for your replies .

I logged off/on to uss ,but to no avail after executing this command : echo ". /u/q3bbgx8/miniconda/etc/profile.d/conda.sh" >> ~/.bashrc

my .profile has the following commands in it : 

export _BPXK_AUTOCVT=ON
export _CEE_RUNOPTS='FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)'
SHELL=/u/q3bbgx8/miniconda/bin/bash
exec $SHELL


Regards,

Marco 



------------------------------
Marco Passaretti
System Programmer
Royal Bank of Canada
West Toronto ON CA
------------------------------

Hi Marco,

Can you please attach the output of the "env | sort" and "cat ~/.bashrc" commands here?

Thanks,
Alex



------------------------------
Alexander Klochkov
QA
Rocket Internal - All Brands
Vilnius LT
------------------------------

Hi Marco,

Can you please attach the output of the "env | sort" and "cat ~/.bashrc" commands here?

Thanks,
Alex



------------------------------
Alexander Klochkov
QA
Rocket Internal - All Brands
Vilnius LT
------------------------------
please see attached .txt file .

Thanks,

Marco

------------------------------
Marco Passaretti
System Programmer
Royal Bank of Canada
West Toronto ON CA
------------------------------
please see attached .txt file .

Thanks,

Marco

------------------------------
Marco Passaretti
System Programmer
Royal Bank of Canada
West Toronto ON CA
------------------------------

Hi Marco,

What is the output of the following commands 'conda activate' and 'conda info'?

Thanks,
Alex




------------------------------
Alexander Klochkov
QA
Rocket Internal - All Brands
Vilnius LT
------------------------------

Hi Marco,

What is the output of the following commands 'conda activate' and 'conda info'?

Thanks,
Alex




------------------------------
Alexander Klochkov
QA
Rocket Internal - All Brands
Vilnius LT
------------------------------
Hi Alexander,

Please see attached file for command outputs .

Thanks,

Marco

------------------------------
Marco Passaretti
System Programmer
Royal Bank of Canada
West Toronto ON CA
------------------------------
Hi Alexander,

Please see attached file for command outputs .

Thanks,

Marco

------------------------------
Marco Passaretti
System Programmer
Royal Bank of Canada
West Toronto ON CA
------------------------------
Hi Marco,
You don't have to be in 'u/q3bbgx8/miniconda/bin' to run conda commands, can you try again please but not from bin folder and without './' 
Thanks

------------------------------
Alexander Klochkov
QA
Rocket Internal - All Brands
Vilnius LT
------------------------------
Hi Marco,
You don't have to be in 'u/q3bbgx8/miniconda/bin' to run conda commands, can you try again please but not from bin folder and without './' 
Thanks

------------------------------
Alexander Klochkov
QA
Rocket Internal - All Brands
Vilnius LT
------------------------------

Hi Alexander,


see attached commands issued from /u/q3bbgx8/

thanks,

Marco 



------------------------------
Marco Passaretti
System Programmer
Royal Bank of Canada
West Toronto ON CA
------------------------------

Hi Alexander,


see attached commands issued from /u/q3bbgx8/

thanks,

Marco 



------------------------------
Marco Passaretti
System Programmer
Royal Bank of Canada
West Toronto ON CA
------------------------------

Hi Alexander,

I was able to proceed to activate my conda environment and download all the packages I require with e following command : 

conda install -c https://conda.anaconda.org/zoss-appdev <product or package name>

Thanks, 

Marco Passaretti 



------------------------------
Marco Passaretti
System Programmer
Royal Bank of Canada
West Toronto ON CA
------------------------------

Hi Alexander,

I was able to proceed to activate my conda environment and download all the packages I require with e following command : 

conda install -c https://conda.anaconda.org/zoss-appdev <product or package name>

Thanks, 

Marco Passaretti 



------------------------------
Marco Passaretti
System Programmer
Royal Bank of Canada
West Toronto ON CA
------------------------------
good to hear that

------------------------------
Alexander Klochkov
QA
Rocket Internal - All Brands
Vilnius LT
------------------------------
good to hear that

------------------------------
Alexander Klochkov
QA
Rocket Internal - All Brands
Vilnius LT
------------------------------
Hi Alexander,

Thanks for all you help on this matter.

regards,

Marco Passaretti

------------------------------
Marco Passaretti
System Programmer
Royal Bank of Canada
West Toronto ON CA
------------------------------