Edited at

'Native kernel (python2) is not available'

More than 3 years have passed since last update.

When you got Warning : 'Native kernel (python2) is not available'

with jupyter notebook...

pip uninstall backports.shutil_get_terminal_size

Uninstalling backports.shutil-get-terminal-size-1.0.0:

/usr/lib/python2.7/site-packages/backports.shutil_get_terminal_size-1.0.0.dist-info/DESCRIPTION.rst
/usr/lib/python2.7/site-packages/backports.shutil_get_terminal_size-1.0.0.dist-info/INSTALLER
/usr/lib/python2.7/site-packages/backports.shutil_get_terminal_size-1.0.0.dist-info/METADATA
/usr/lib/python2.7/site-packages/backports.shutil_get_terminal_size-1.0.0.dist-info/RECORD
/usr/lib/python2.7/site-packages/backports.shutil_get_terminal_size-1.0.0.dist-info/WHEEL
/usr/lib/python2.7/site-packages/backports.shutil_get_terminal_size-1.0.0.dist-info/metadata.json
/usr/lib/python2.7/site-packages/backports.shutil_get_terminal_size-1.0.0.dist-info/top_level.txt
/usr/lib/python2.7/site-packages/backports/__init__.py
/usr/lib/python2.7/site-packages/backports/__init__.pyc
/usr/lib/python2.7/site-packages/shutil_backports/__init__.py
/usr/lib/python2.7/site-packages/shutil_backports/__init__.pyc
/usr/lib/python2.7/site-packages/shutil_backports/get_terminal_size.py
/usr/lib/python2.7/site-packages/shutil_backports/get_terminal_size.pyc
Proceed (y/n)? y
Successfully uninstalled backports.shutil-get-terminal-size-1.0.0

pip install backports.shutil_get_terminal_size

Collecting backports.shutil_get_terminal_size

Downloading backports.shutil_get_terminal_size-1.0.0-py2.py3-none-any.whl
Installing collected packages: backports.shutil-get-terminal-size
Successfully installed backports.shutil-get-terminal-size-1.0.0

ipython kernelspec install-self

[TerminalIPythonApp] WARNING | Subcommand `ipython kernelspec` is deprecated and will be removed in future versions.

[TerminalIPythonApp] WARNING | You likely want to use `jupyter kernelspec` in the future
[InstallNativeKernelSpec] WARNING | `jupyter kernelspec install-self` is DEPRECATED as of 4.0. You probably want `ipython kernel install` to install the IPython kernelspec.
[InstallNativeKernelSpec] Installed kernelspec python2 in /usr/local/share/jupyter/kernels/python2

ipython kernel install

Installed kernelspec python2 in /usr/local/share/jupyter/kernels/python2