title: How can I remove my anaconda environment?
body: <p>I am working in Mac OS X. I have created a conda environment called <code>python2env</code>. You can see it here:</p>
  
  <pre><code>conda info --envs
  # conda environments:
  #
  python2env               /Users/user/anaconda/envs/python2env
  ..
  root                  *  /Users/user/anaconda
  </code></pre>
  
  <p>I tried the following command to remove it:</p>
  
  <pre><code>conda env remove --name python2env
  
  Remove all packages in environment /Users/user/anaconda/envs/python2env:
  
  Proceed ([y]/n)? y
  </code></pre>
  
  <p>Then, I checked if it had been removed:</p>
  
  <pre><code>conda info --envs
  # conda environments:
  #
  python2env               /Users/user/anaconda/envs/python2env
  ..
  root                  *  /Users/user/anaconda
  </code></pre>
  
  <p>but it is still there!</p>
  
  <p>I tried <code>conda remove --name python2env --all</code> but to no avail. The environment is still listed.</p>
  
  <p>How can I remove my Anaconda environment?</p>
  
  <p>Update, on jentjr's avdvice:</p>
  
  <pre><code>~ conda remove --name python2env --all --debug
  
  DEBUG conda.gateways.disk.test:prefix_is_writable(65): testing write access for prefix '/Users/user/anaconda' using path '/Users/user/anaconda/conda-meta/history'
  DEBUG conda.gateways.disk.test:prefix_is_writable(65): testing write access for prefix '/Users/user/anaconda' using path '/Users/user/anaconda/conda-meta/history'
  
  Remove all packages in environment /Users/user/anaconda/envs/python2env:
  
  Proceed ([y]/n)? y
  
  DEBUG conda.gateways.disk.permissions:make_writable(36): tried make writable but failed: /Users/user/anaconda/envs/python2env/static/css/img/igv_logo_letters_paths.svg
  PermissionError(1, 'Operation not permitted')
  
  ~ conda remove -p /Users/user/anaconda/envs/python2env --all --debug 
  DEBUG conda.gateways.disk.test:prefix_is_writable(65): testing write access for prefix '/Users/user/anaconda' using path '/Users/user/anaconda/conda-meta/history'
  
  Remove all packages in environment /Users/user/anaconda/envs/python2env:
  
  Proceed ([y]/n)? y
  
  DEBUG conda.gateways.disk.permissions:make_writable(36): tried make writable but failed: /Users/user/anaconda/envs/python2env/static/css/img/igv_logo_letters_paths.svg
  PermissionError(1, 'Operation not permitted')
  INFO conda.gateways.disk.delete:rm_rf(59): rm_rf failed for /Users/user/anaconda/envs/python2env
  </code></pre>
  
  <p>Neither using <code>--debug</code> nor specifying the full path to the environment were able to remove it. I will try to make the environment writable with <code>chmod</code>, try again and update my post.</p>