title: Stuck when setting up to use anaconda with VS Code and Integrated Git terminal
body: <p>I want to learn Data Science and so have used some really popular Python modules likes Pandas, Matplotlib, Numpy, etc. So I clean installed Anaconda and am now using it as my default Python interpreter and also using Conda for installing packages and making virtual environments. I use VS Code as my daily text editor. But I have run into some issues when using the integrated Git terminal in VS Code with the Anaconda Python interpreter.</p>
  
  <p>There are a couple of issues that I am facing. One of the first issues that I see is when I am using CMD to run Python. If I type and enter <code>python</code> in cmd, the Python interpreter provided by anaconda comes up. But I also get a warning:</p>
  
  <blockquote>
    <p>Warning:
    This Python interpreter is in a conda environment, but the environment has not been activated. Libraries may fail to load. To activate this environment please see <a href="https://conda.io/activation" rel="noreferrer">https://conda.io/activation</a></p>
  </blockquote>
  
  <p>I didn't expect to get this output. Anyway, there's another problem in VS code. But first I would like to mention that I have checked "Add to PATH" when installing Anaconda so no issues there. Now, when I open a new Terminal in VS Code, automatically <code>C:/Users/User/Anaconda3/Scripts/activate</code> is run and then <code>conda activate base</code> is run. But when <code>conda activate base</code> is run, automatically, as mentioned, I get a CommandNotFoundError. It states <code>Your shell has not been properly configured to use 'conda activate'.
  If using 'conda activate' from a batch script, change your
  invocation to 'CALL conda.bat activate'</code></p>
  
  <p>And then I am told to initialize my shell, so I did <code>conda init bash</code> but still no luck. And this brings me to talk about <code>.bash_profile</code>. I think it has to do something with this bash profile. Anyway, this is what is in my bash profile</p>
  
  <pre><code>
  # &gt;&gt;&gt; conda initialize &gt;&gt;&gt;
  # !! Contents within this block are managed by 'conda init' !!
  eval "$('/C/Users/User/Anaconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
  # &lt;&lt;&lt; conda initialize &lt;&lt;&lt;
  
  </code></pre>
  
  <p>Just a summary of the problem:</p>
  
  <ul>
  <li><p>Unexpected warning in CMD when running Anaconda Python interpreter</p></li>
  <li><p>Automatically run Anaconda Scripts and conda activate base when opening new Terminal in VS Code</p></li>
  <li><p>Conda init bash not helping</p></li>
  </ul>
  
  <p>P.S I have tried using <code>conda activate [env_name]</code> in CMD and also in Git Bash and they work without any issues. In other words, Anaconda and Conda work perfectly outside of VS Code terminal.</p>