title: Emacs and conda workaround
body: <p>I'm using emacs and anaconda.</p>
  
  <p>I have this in my init.el:</p>
  
  <pre><code>(setenv "WORKON_HOME" "/home/user/anaconda3/envs/")
  </code></pre>
  
  <p>And conda on my path:</p>
  
  <pre><code># added by Anaconda3 installer
  export PATH="/home/user/anaconda3/bin:$PATH"
  </code></pre>
  
  <p>but emacs can't find my conda environments, which I understand it is supposed to be able to do..</p>
  
  <p>So, when I run <code>C-c C-p</code> to start a new session, and <code>C-c C-c</code>, it fails to import my packages  which are installed in a conda environment, with <code>ModuleNotFoundError</code>.</p>
  
  <p>Since I have added this to my path and it still doesn't work, I am trying to work around this, and still be able to run my conda applications from emacs.</p>
  
  <p>I can open a <em>shell</em> in emacs with <code>M-x shell</code>, then <code>source activate myenv</code>, and run <code>python</code>.</p>
  
  <p>I now want <code>C-c C-c</code> to copy into /this/ <em>shell</em>.  How do I mark this <em>shell</em> <em>buffer</em> as a python process to send my file.py's text to on C-c C-c, rather than just a shell <em>shell</em>?</p>
  
  <h2>Update1</h2>
  
  <p>I've also looked at the following references:</p>
  
  <ul>
  <li><a href="https://emacs.stackexchange.com/questions/20092/using-conda-environments-in-emacs">https://emacs.stackexchange.com/questions/20092/using-conda-environments-in-emacs</a></li>
  <li><a href="https://stackoverflow.com/questions/54152384/how-does-conda-env-list-conda-info-envs-find-environments">How does conda-env list / conda info --envs find environments?</a></li>
  </ul>
  
  <p>But neither package works for me.  I still get, when I try:</p>
  
  <pre><code>conda-env-list
  
  *Conda envs*
  </code></pre>
  
  <p>Produces a blank buffer.</p>
  
  <p>And this for pyvenv-workon:</p>
  
  <pre><code>pyvenv-workon
    Work on:  (empty)
  </code></pre>
  
  <p>These environments very much exist, and it makes it impossible to use emacs as a python IDE if I can't run my code.</p>