PyCharm use WLS Development

1, the configuration WSL

https://www.jetbrains.com/help/pycharm/using-wsl-as-a-remote-interpreter.html

2、

Use the built-in terminal Pycharm Python code run open WSL

In fact, Pycharm already comes with a terminal, you can start WSL directly in the terminal, and then run your code.

 

 

Where the project directory, you can drive letter of the Windows directory, converted into "/ mnt / letter", remove the colon and use slashes / instead of backslashes, for example, C: \ Windows -> / mnt / c / Windows (remember Linux is case-sensitive). before running the source code, install Python or Anaconda.

3, can also be configured to connect remote SSH python development environment

See: Https://Blog.Csdn.Net/yangdashi888/article/details/103782195?Depth_1-utm_source=distribute.Pc_relevant_right.None-task-blog-bieruojishiommendFromMachineLearnPai2-3andoutm_source=distribute.Pc_relevant_right.None-task-blog-bieruojishiommendFromMachineLearnPai2- 3

Guess you like

Origin www.cnblogs.com/legendjslc/p/12667967.html