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