Try running:

    python2 -m ipykernel install

This will install a Python 2 kernelspec with the absolute path to the
Python 2 executable, rather than `python`.

On Mon, Aug 14, 2017 at 1:40 PM, Paul Mayer <[email protected]> wrote:

> Hi,
>
> I am currently trying to get a Jupyter Notebook Environment running with
> Python 2.7.
>
> Using conda, I have installed ipykernel (4.6.1), nb_conda_kernels (2.1.0),
> jupyter (4.3.0) and Python 2.7 in a new environment.
> Launching "jupyter notebook", the tab "Conda" shows all my conda
> environments. However, if I try to create a new Notebook, it only shows
> "Python 3" as kernel (which does not exist and I have no idea where it is
> coming from).
>
> Trying to create the notebook, the following warning is logged:
>
> [W 13:36:55.585 NotebookApp] Kernel not found: python3
>
> Running jupyter kernelspec list gives the following:
>
> Available kernels:
>   python2    C:\x\y\z\jupyter\kernels\python2
>
> The kernel.json in the folder contains:
> {
>  "display_name": "Python 2",
>  "language": "python",
>  "argv": [
>   "python",
>   "-m",
>   "ipykernel_launcher",
>   "-f",
>   "{connection_file}"
>  ]
> }
>
> Which should be fine given the %PATH% is set appropriately. Could you let
> me know what I can do/what to look into to fix this?
>
> Thanks,
> Paul
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jupyter/89706bc9-b81f-428e-986b-5e06c4545f70%40googlegroups.com
> <https://groups.google.com/d/msgid/jupyter/89706bc9-b81f-428e-986b-5e06c4545f70%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAHNn8BWoLieszzeLFqrZD-AL8eBJCMskrZA%2BChS63WGOEw4QvQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to