So there are variants of this question - but none quite hit the nail on the head.
I want to run spyder and do interactive analysis on a server. I have two servers , neither have spyder. They both have python (linux server) but I dont have sudo rights to install packages I need.
In short the use case is: open spyder on local machine. Do something (need help here) to use the servers computation power , and then return results to local machine.
Update:
I have updated python with my packages on one server. Now to figure out the kernel name and link to spyder. Leaving previous version of question up, as that is still useful.
The docker process is a little intimidating as does paramiko. What are my options?
Connect to a remote kernelLaunch a Spyder kernel on the remote host if one is not already running, with python -m spyder_kernels. console . Copy the kernel's connection file ( jupyter/runtime/dir/path/kernel-pid. json ) to the machine you're running Spyder on.
Running Spyder You can launch it in any of the following ways: From the command line: Type spyder in your terminal (or Anaconda prompt on Windows). From Anaconda Navigator: Scroll to Spyder under Home, and click Launch. *Windows Only*: Launch it via the Start menu shortcut.
At the Anaconda Prompt (terminal on Linux or macOS), type spyder and press Enter. Spyder should start up just like it did when you launched it from Anaconda Navigator. Close Spyder the same way you did in the previous exercise. At the Anaconda Prompt (terminal on Linux or macOS), type jupyter-notebook and press Enter.
The Interactive Terminal (in Spyder, the IPython Console) allows you to execute commands and interact with data inside any number of IPython interpreters. Each console in Spyder is executed in a separate process, allowing you to run scripts independently.
(Spyder maintainer here) What you need to do is to create an Spyder kernel in your remote server and connect through SSH to it. That's the only facility we provide to do what you want.
You can find the precise instructions to do that in our docs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With