Change the path of conda environment after running bash {miniconda.sh}
Step2:
Go to home directory and add these lines in .bashrc to change the path of conda environment:
__conda_setup="$('/g/data/xf3/miniconda/bin/conda' 'shell.bash' 'hook' 2> /dev/null)" if [ $? -eq 0 ]; then eval "$__conda_setup" else if [ -f "/g/data/xf3/miniconda/etc/profile.d/conda.sh" ]; then . "/g/data/xf3/miniconda/etc/profile.d/conda.sh" else export PATH="/g/data/xf3/miniconda/bin:$PATH" fi fi unset __conda_setup
Run source .bashrc
This can be done by conda init but can also done in this way
Step3:
Create environment as you like and remember to run chmod -R 775 {envs/environment name} to change permission of the folder
Step1:
Download latest miniconda installation script from here: https://docs.conda.io/en/latest/miniconda.html
Change the path of conda environment after running
bash {miniconda.sh}
Step2:
Go to home directory and add these lines in .bashrc to change the path of conda environment:
__conda_setup="$('/g/data/xf3/miniconda/bin/conda' 'shell.bash' 'hook' 2> /dev/null)" if [ $? -eq 0 ]; then eval "$__conda_setup" else if [ -f "/g/data/xf3/miniconda/etc/profile.d/conda.sh" ]; then . "/g/data/xf3/miniconda/etc/profile.d/conda.sh" else export PATH="/g/data/xf3/miniconda/bin:$PATH" fi fi unset __conda_setup
Runsource .bashrc
This can be done by conda init but can also done in this way Step3: Create environment as you like and remember to runchmod -R 775 {envs/environment name}
to change permission of the folderDone