Close and restart shell after running 'conda init'

Viewed 3506

I am trying to activate my environment with " conda activate myenv " but an error appears so when I do "conda init bash" it indicates

no change     /usr/local/condabin/conda
no change     /usr/local/bin/conda
no change     /usr/local/bin/conda-env
no change     /usr/local/bin/activate
no change     /usr/local/bin/deactivate
no change     /usr/local/etc/profile.d/conda.sh
no change     /usr/local/etc/fish/conf.d/conda.fish
no change     /usr/local/shell/condabin/Conda.psm1
no change     /usr/local/shell/condabin/conda-hook.ps1
no change     /usr/local/lib/python3.6/site-packages/xontrib/conda.xsh
no change     /usr/local/etc/profile.d/conda.csh
modified      /root/.bashrc

==> For changes to take effect, close and re-open your current shell. <== 

Someone help me how can I close and re-open the bash shell?

1 Answers
  • On Mac, Command + Q on your open terminal.
  • On Windows or Linux, just close like normal.
  • On a cloud/remote environment, depending on your GUI, you may need to reboot the cloud machine.
Related