IPKernelApp Error and Warning

It is unclear to me what one needs to do to fix the issue you mentioned. Could you please elaborate a bit?