The problems that I've typed in are easy one-liners, such as "print (2 + 2)", or import "numpy as np", but the lines don't get executed.
I am running Python 3.5 on the notebook, that is opened using Anaconda Navigator. Furthermore, my operating system is Windows 10.
I have tried uninstalling and re-installing Anaconda (both the Python 3 and Python 2 versions) and turning off my anti-virus, but nothing seems to solve the problem.
Does anyone have an idea why this is happening and how it can be fixed?
I have posted my question on stack overflow, but I have not been able to get an answer that works. The following is a link to my question on stack:
http://stackoverflow.com/questions/41972925/jupyter-notebook-timeout-waiting-for-kernel-info-reply
Any help will be much appreciated!
Regards
Johan
However, the code does eventually run if I just leave it, but it takes about an hour before it does so.