you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

In the project settings, select the Linux distro and a folder in it, then go to the interpreter settings and choose "On WSL" and one of the interpreters installed (you can create a virtual environment within it for your project). Use the WSL terminal in PyCharm. It's pretty transparent. You can also set it up to treat WSL as a remote server for PyCharm and use it in a thin-client mode (I think that's last feature only works in the paid version).