Thanks for all you help on this matter.
Original Message:
Sent: 04-28-2022 07:54
From: Alexander Klochkov
Subject: was able to instal miniconda and create & activate envirionment, but cannot do so any longer
good to hear that
------------------------------
Alexander Klochkov
QA
Rocket Internal - All Brands
Vilnius LT
Original Message:
Sent: 04-28-2022 06:11
From: Marco Passaretti
Subject: was able to instal miniconda and create & activate envirionment, but cannot do so any longer
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
Original Message:
Sent: 04-28-2022 05:54
From: Marco Passaretti
Subject: was able to instal miniconda and create & activate envirionment, but cannot do so any longer
Hi Alexander,
see attached commands issued from /u/q3bbgx8/
thanks,
Marco
------------------------------
Marco Passaretti
System Programmer
Royal Bank of Canada
West Toronto ON CA
Original Message:
Sent: 04-28-2022 04:59
From: Alexander Klochkov
Subject: was able to instal miniconda and create & activate envirionment, but cannot do so any longer
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
Original Message:
Sent: 04-27-2022 10:47
From: Marco Passaretti
Subject: was able to instal miniconda and create & activate envirionment, but cannot do so any longer
Hi Alexander,
Please see attached file for command outputs .
Thanks,
Marco
------------------------------
Marco Passaretti
System Programmer
Royal Bank of Canada
West Toronto ON CA
Original Message:
Sent: 04-27-2022 05:33
From: Alexander Klochkov
Subject: was able to instal miniconda and create & activate envirionment, but cannot do so any longer
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
Original Message:
Sent: 04-26-2022 12:02
From: Marco Passaretti
Subject: was able to instal miniconda and create & activate envirionment, but cannot do so any longer
please see attached .txt file .
Thanks,
Marco
------------------------------
Marco Passaretti
System Programmer
Royal Bank of Canada
West Toronto ON CA
Original Message:
Sent: 04-26-2022 11:36
From: Alexander Klochkov
Subject: was able to instal miniconda and create & activate envirionment, but cannot do so any longer
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
Original Message:
Sent: 04-26-2022 11:23
From: Marco Passaretti
Subject: was able to instal miniconda and create & activate envirionment, but cannot do so any longer
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
Original Message:
Sent: 04-26-2022 11:12
From: Alexander Klochkov
Subject: was able to instal miniconda and create & activate envirionment, but cannot do so any longer
>> 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
Original Message:
Sent: 04-26-2022 09:37
From: Marco Passaretti
Subject: was able to instal miniconda and create & activate envirionment, but cannot do so any longer
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