title: how to start spyder in a new conda environment?
body: <p>I have a .yaml conda environment file, which contains a few packages</p>
  
  <pre><code>name: myEnv
  channels:
  - anaconda
  - conda-forge
  - defaults
  dependencies:
  - numpy=1.12.1=py27_0
  - pandas=0.20.1=np112py27_0
  - scikit-learn=0.18.1=np112py27_1
   # and more
  </code></pre>
  
  <p>Then I have created a new environment from this file:</p>
  
  <pre><code>conda env create -f myfile.yml
  </code></pre>
  
  <p>Everything runs fine, and the envorinment is created.
  I can see it under</p>
  
  <pre><code>conda env list
  </code></pre>
  
  <p>I can <code>activate</code> it, and run <code>python</code> in the CLI within it and the libraries are there as expected.</p>
  
  <p>However, if I try to run spyder from the CLI using any of the following</p>
  
  <pre><code>(myEnv) spyder 
  (myEnv) spyder --new-instance
  (myEnv) spyder --defaults
  (myEnv) spyder --reset
  </code></pre>
  
  <p>I get the following error message:</p>
  
  <p><a href="https://i.stack.imgur.com/pLuAB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pLuAB.png" alt="enter image description here"></a></p>
  
  <p>and nothing as  traceback in the cmd.exe.</p>