rpep / tcl_kernel

A Jupyter Kernel for the Tcl language.
BSD 3-Clause "New" or "Revised" License
19 stars 8 forks source link

Kernelspec doesn't follow Python version in use #7

Closed takluyver closed 5 years ago

takluyver commented 8 years ago

I installed tcl_kernel under Python 3, which is called python3 on Debian systems. But the kernelspec is hardcoded to run python.

Have a look at what we do to install the kernelspec in bash_kernel: https://github.com/takluyver/bash_kernel/blob/master/bash_kernel/install.py

We write kernel.json with sys.executable, which is the path of the Python executable that's running that code.

This also provides a neat way to install the kernelspec - run python -m bash_kernel.install.

rpep commented 5 years ago

Fixed by c13ff8ee21d1