这种 运行 本地虚拟机严格充当远程 shell/python 解释器的方法是否明智?

Is this approach of running a local virtual machine to act strictly as the remote shell/python interpreter a sensible idea?

这是关于我的 IDE 设置的较少编码,更多内容。我有一个非常狡猾的想法,在我的 windows 机器上启动一个 Linux 虚拟机 运行ning,在 windows 上 运行 Pycharm 并设置在所述 Linux 虚拟机上安装远程 SSH 解释器。因此,我将有效地 运行 在我的远程计算机上设置我的 python 环境。这是一个明智的想法吗?有没有更好支持的方式?

Windows subsystem for Linux is an officially supported full Linux virtual machine that runs concurrently with Windows. If you wanted to get fancy with networking or just want your Linux dev environment totally isolated from your computer your could run ubuntu on Docker 在你的 WSL2 中,它的额外好处是每次你想要它时都是一个完全均匀的环境