title: How to enable local code while using a conda environment?
body: <p>How do I import local code while using a conda environment?</p>
  
  <p>I have some code in some location like C:\Users\me\Code\mycode\, and that directory is in my path variable. From my base python environment I can import it:</p>
  
  <pre><code>&gt; python --version
    Python 3.7.3
  &gt; python
  &gt;&gt;&gt; import mycode
  &gt;&gt;&gt; #worked
  </code></pre>
  
  <p>But if I active a conda environment, I can no longer access my code. </p>
  
  <pre><code>&gt; conda activate myenv
  (myenv) &gt; python
  &gt;&gt;&gt; import mycode
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  ModuleNotFoundError: No module named 'mycode'
  </code></pre>
  
  <p>Is there a way to tell conda to enable regions included in the path variable, or to easily include other local code into the environment? </p>