title: jupyter notebook FileNotFoundError - looking in the wrong anaconda directory
body: <p>I am having trouble opening a jupyter notebook file. Jupyter notebook is giving me a FileNotFoundError error when looking for Python: </p>
  
  <pre><code>Traceback (most recent call last):
        File "/Users/myusername/anaconda/envs/dlnd/lib/python3.6/site-packages/notebook/base/handlers.py", line 503, in wrapper
          result = yield gen.maybe_future(method(self, *args, **kwargs))
        File "/Users/myusername/anaconda/envs/dlnd/lib/python3.6/site-packages/tornado/gen.py", line 1015, in run
          value = future.result()
        File "/Users/myusername/anaconda/envs/dlnd/lib/python3.6/site-packages/tornado/concurrent.py", line 237, in result
          raise_exc_info(self._exc_info)
        File "&lt;string&gt;", line 3, in raise_exc_info
        File "/Users/myusername/anaconda/envs/dlnd/lib/python3.6/site-packages/tornado/gen.py", line 1021, in run
          yielded = self.gen.throw(*exc_info)
        File "/Users/myusername/anaconda/envs/dlnd/lib/python3.6/site-packages/notebook/services/sessions/handlers.py", line 75, in post
          type=mtype))
        File "/Users/myusername/anaconda/envs/dlnd/lib/python3.6/site-packages/tornado/gen.py", line 1015, in run
          value = future.result()
        File "/Users/myusername/anaconda/envs/dlnd/lib/python3.6/site-packages/tornado/concurrent.py", line 237, in result
          raise_exc_info(self._exc_info)
        File "&lt;string&gt;", line 3, in raise_exc_info
        File "/Users/myusername/anaconda/envs/dlnd/lib/python3.6/site-packages/tornado/gen.py", line 1021, in run
          yielded = self.gen.throw(*exc_info)
        File "/Users/myusername/anaconda/envs/dlnd/lib/python3.6/site-packages/notebook/services/sessions/sessionmanager.py", line 79, in create_session
          kernel_id = yield self.start_kernel_for_session(session_id, path, name, type, kernel_name)
        File "/Users/myusername/anaconda/envs/dlnd/lib/python3.6/site-packages/tornado/gen.py", line 1015, in run
          value = future.result()
        File "/Users/myusername/anaconda/envs/dlnd/lib/python3.6/site-packages/tornado/concurrent.py", line 237, in result
          raise_exc_info(self._exc_info)
        File "&lt;string&gt;", line 3, in raise_exc_info
        File "/Users/myusername/anaconda/envs/dlnd/lib/python3.6/site-packages/tornado/gen.py", line 1021, in run
          yielded = self.gen.throw(*exc_info)
        File "/Users/myusername/anaconda/envs/dlnd/lib/python3.6/site-packages/notebook/services/sessions/sessionmanager.py", line 92, in start_kernel_for_session
          self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_name)
        File "/Users/myusername/anaconda/envs/dlnd/lib/python3.6/site-packages/tornado/gen.py", line 1015, in run
          value = future.result()
        File "/Users/myusername/anaconda/envs/dlnd/lib/python3.6/site-packages/tornado/concurrent.py", line 237, in result
          raise_exc_info(self._exc_info)
        File "&lt;string&gt;", line 3, in raise_exc_info
        File "/Users/myusername/anaconda/envs/dlnd/lib/python3.6/site-packages/tornado/gen.py", line 285, in wrapper
          yielded = next(result)
        File "/Users/myusername/anaconda/envs/dlnd/lib/python3.6/site-packages/notebook/services/kernels/kernelmanager.py", line 87, in start_kernel
          super(MappingKernelManager, self).start_kernel(**kwargs)
        File "/Users/myusername/anaconda/envs/dlnd/lib/python3.6/site-packages/jupyter_client/multikernelmanager.py", line 110, in start_kernel
          km.start_kernel(**kwargs)
        File "/Users/myusername/anaconda/envs/dlnd/lib/python3.6/site-packages/jupyter_client/manager.py", line 257, in start_kernel
          **kw)
        File "/Users/myusername/anaconda/envs/dlnd/lib/python3.6/site-packages/jupyter_client/manager.py", line 203, in _launch_kernel
          return launch_kernel(kernel_cmd, **kw)
        File "/Users/myusername/anaconda/envs/dlnd/lib/python3.6/site-packages/jupyter_client/launcher.py", line 128, in launch_kernel
          proc = Popen(cmd, **kwargs)
        File "/Users/myusername/anaconda/envs/dlnd/lib/python3.6/subprocess.py", line 707, in __init__
          restore_signals, start_new_session)
        File "/Users/myusername/anaconda/envs/dlnd/lib/python3.6/subprocess.py", line 1326, in _execute_child
          raise child_exception_type(errno_num, err_msg)
      FileNotFoundError: [Errno 2] No such file or directory: '/Users/myusername/anaconda3/envs/py3/bin/python'
  </code></pre>
  
  <p>I am following an online class. I started by creating a conda environment as shown below:</p>
  
  <pre><code>conda create --name dlnd python=3
  source activate dlnd
  conda install numpy matplotlib pandas jupyter notebook
  </code></pre>
  
  <p>Then I try to open the file given in the class: </p>
  
  <pre><code>jupyter notebook dlnd-your-first-neural-network.ipynb
  </code></pre>
  
  <p>And this is when the error occurs.</p>
  
  <p>I suspect the issue is that I have no <code>/Users/myusername/anaconda3/</code> directory (thus the <code>FileNotFoundError</code>). All of my anaconda stuff installed in <code>/Users/myusername/anaconda/</code>, and I have been using jupyter notebooks for a couple weeks now, running various <code>.ipynb</code> files in various environments, with no major issues.</p>
  
  <p>I'm not sure why jupyter notebook is looking in <code>anaconda3/</code> in the particular instance. I have tried reinstalling, but again everything is installed at <code>/Users/myusername/anaconda/</code>.</p>
  
  <p>Anyone with more experience know what I'm missing?</p>
  
  <p>Using a Macbook pro on 10.11</p>