title: Conda: Creating a virtual environment
body: <p>I'm trying to create a virtual environment. I've followed steps from both <a href="https://conda.io/docs/user-guide/tasks/manage-environments.html#" rel="nofollow noreferrer" title="Conda">Conda</a> and <a href="https://medium.com/@tk2bit/how-to-set-up-and-maintain-conda-virtual-environment-for-your-python-projects-643c8f0c81a1" rel="nofollow noreferrer" title="Medium">Medium</a>.</p>
  <p>Everything works fine until I need to <em><a href="https://en.wikipedia.org/wiki/Dot_(command)#Source" rel="nofollow noreferrer">source</a></em> the new environment:</p>
  <pre class="lang-none prettyprint-override"><code>conda info -e
  
  # conda environments:
  #
  base                  *  /Users/fwrenn/anaconda3
  test_env                 /Users/fwrenn/anaconda3/envs/test_env
  
  source ~/anaconda3/bin/activate test_env
  </code></pre>
  <blockquote>
  <p>_CONDA_ROOT=/Users/fwrenn/anaconda3: Command not found.
  Badly placed ()'s.</p>
  </blockquote>
  <p>I can't figure out the problem. Searching on here has solutions that say adding lines to your <em>bash_profile</em> file, but I don't work in Bash, only <a href="https://en.wikipedia.org/wiki/C_shell" rel="nofollow noreferrer">C shell</a> (csh). It <em>looks</em> like it's unable to build the directory path in <code>activate</code>.</p>
  <p>My particulars:</p>
  <ul>
  <li><p>OS X</p>
  </li>
  <li><p>Output of <code>python --version</code>:</p>
  <pre class="lang-none prettyprint-override"><code>Python 3.6.3 :: Anaconda custom (64-bit)
  </code></pre>
  </li>
  <li><p>Output of <code>conda --version</code>:</p>
  <pre class="lang-none prettyprint-override"><code>conda 4.4.7
  </code></pre>
  </li>
  </ul>