Thanks for the suggestion. While there's no python2 executable in the windows distribution, changing the kernel.json manually to refer to the absolute path of the python.exe apparently solved the issue. I can now see the conda environment in my jupyter notebook.
Am Sonntag, 20. August 2017 14:23:40 UTC+2 schrieb Min RK: > > 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] > <javascript:>> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> 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/aa13265c-b56b-4aa5-b8e9-4c3373a39aa2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
