【问题标题】:Make Visual Studio Code run in the virtual environment of a remote server使 Visual Studio Code 在远程服务器的虚拟环境中运行
【发布时间】:2022-01-27 03:55:52
【问题描述】:

我已通过在线提供的指令将 VSCode 连接到远程服务器:Remote development using SSH。我的代码包含张量流,我将它安装在我在服务器中创建的虚拟环境中。我可以在交互式窗口中成功运行代码吗?到目前为止,当我运行代码时,交互式窗口给了我错误“找不到模块张量流”。我必须在终端窗口中运行它,但是通过在终端中运行它,我无法检查有助于我调试的临时变量。

【问题讨论】:

    标签: visual-studio-code ssh remote-debugging remote-server virtual-environment


    【解决方案1】:

    通过changing the kernel 将其修复到我的虚拟环境中。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-06-26
      • 1970-01-01
      • 1970-01-01
      • 2018-01-11
      • 2021-05-06
      • 2019-07-15
      相关资源
      最近更新 更多