PyCharm opening WSL2 install terminal while running

I recently installed WSL2 and opened a PyCharm project in a WSL directory, but have since uninstalled WSL due to low storage. Now, whenever I open PyCharm, 1-2 WSL install terminals pop up (one after the other), and sometimes more while I am working on my projects. I have made sure to clear the project from recently open, and from all project lists, but it continues to open these terminals.

1
1 comment

Hi StatisticalHorse

This is a known platform bug, tracked as IJPL-182532. JetBrains IDEs call wsl.exe without checking first whether WSL is still enabled, and Windows answers with the install prompt.

A workaround reported to work by another affected user: open Settings | Plugins, disable the bundled plugin "Remote Execution Agent: Bundled Binary Files", and restart the IDE. That plugin supplies the agent that runs processes in WSL, Docker and SSH environments, and is safe to disable while working locally.

Clearing Recent Projects alone does not stop the pop-ups.

Star IJPL-182532 to receive updates.
 

0

Please sign in to leave a comment.