简体   繁体   中英

Remote SSH with VS Code not finding hosts' python environment

The context is as follows:

  • I have a PC with a python installation (and some libraries)
  • I have a laptop with another python installation

When I use VS Code (on the laptop) to ssh into the server (the PC) and open a jupyter notebook, I can find the laptop's Python environment, but not the PC's python environment.

Any ideas?

You can refer to the docs to creat connection.

When you have finished connecting, you can use the shortcut "ctrl+shift+P" and type "Python: select interpreter" to choose the python environment.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM