Closed dsblank closed 6 years ago
Since metakernel install changed, you need to do three things:
__main__.py
from .kernel import GnuplotKernel if __name__ == "__main__": GnuplotKernel.run_as_main()
import sys class GnuplotKernel(ProcessMetaKernel): kernel_json = { 'argv': [sys.executable, '-m', 'gnuplot_kernel', '-f', '{connection_file}'], 'display_name': 'gnuplot', 'language': 'gnuplot', 'name': 'gnuplot', }
Then you can install the kernel through recommended:
pip install gnuplot_kernel python -m gnuplot_kernel install
@dsblank, Thank You for the tip-off.
Since metakernel install changed, you need to do three things:
__main__.py
to:Then you can install the kernel through recommended: