Site icon Data Science Pedia

Python 2 & 3 kernel inside the jupyter notebook

While solving our problems on python, Many of us might have faced the situation of kernels, the specific package supports only python 2.7 and require python 3 and there are a lot of issues while installing python kernels and running it with Jupyter notebook side by side. Here’s my solution of running python 2 and 3 on the same machine.

System Overview: I ran the kernels on MacOS Mojave version 10.14.5

My System Configuration
Step: 1

Step: 2

Its a 2 step process:

  1. Check the available kernels:
    • jupyter kernelspec list
  2. Install the Kernel:
    • python3 -m ipykernel install –user

Repeat 1st step to check the installed kernels.

Comments

comments

Exit mobile version