I am using spyder3 on ubuntu 16.04 as an IDE for python programming. The problem with spyder3 is when I run my program for the first time, it runs well and the second time I run it shows kernel busy forever, but does not actually do any computation. I need to restart the kernel and then it works gain. But I have to do this for each execution of a program which is not a good practice. I removed and installed spyder3 again, but didnot solve my problem. I will be grateful if anyone can help me to solve this issue.
Thank you very much for your time.