daily pastebin goal
51%
SHARE
TWEET

Untitled

a guest Feb 17th, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
  2. If your shell is Bash or a Bourne variant, enable conda for the current user with
  3.  
  4.     $ echo ". /home/ubuntu/anaconda3/etc/profile.d/conda.sh" >> ~/.bashrc
  5.  
  6. or, for all users, enable conda with
  7.  
  8.     $ sudo ln -s /home/ubuntu/anaconda3/etc/profile.d/conda.sh /etc/profile.d/conda.sh
  9.  
  10. The options above will permanently enable the 'conda' command, but they do NOT
  11. put conda's base (root) environment on PATH.  To do so, run
  12.  
  13.     $ conda activate
  14.  
  15. in your terminal, or to put the base environment on PATH permanently, run
  16.  
  17.     $ echo "conda activate" >> ~/.bashrc
  18.  
  19. Previous to conda 4.4, the recommended way to activate conda was to modify PATH in
  20. your ~/.bashrc file.  You should manually remove the line that looks like
  21.  
  22.     export PATH="/home/ubuntu/anaconda3/bin:$PATH"
  23.  
  24. ^^^ The above line should NO LONGER be in your ~/.bashrc file! ^^^
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top