Reputation: 41
I followed the instructions on the official Spyder page and successfully connected to remote kernel via SSH. However I have a problem in my Ipython Console as it refreshes every 2-3 seconds adding In [1]:
lines infinitely. I suppose it is refreshing of a state on server, but could someone explain what is this, why this happens and can I turn it off, so that the Console behaves the same as when I work on my local kernel(without infinite adding of empty lines)?
Upvotes: 0
Views: 132
Reputation: 41
The solution could be found here in post of scott-8: https://github.com/spyder-ide/spyder/issues/10240#issuecomment-543913159
Don't know about the issue above, but here is what solved my issue for anyone reading: instead of running python -m spyder_kernels.console
and connecting to the kernel, quit the kernel after running it. Then restart the kernel with python -m spyder_kernels.console -f kernel-xxxxx.json
, specifying the file that was just created in the runtime directory, and connect to it. This fixed my problem for some reason.
Upvotes: 1