pythonpycharmpython-venv

Pycharm 2025.2 pro WSL interpreter not running


  1. I have created a venv interpreter using python -m venv venv and another using poetry
  2. I pointed pycharm to these interpreters (separately), and it claims to see them
  3. Then, running the simplest program print("hello"), hangs.

I appologize for pictures not rendering, it seems like a stackoverflow bug...

interpreter is configured ok

pycharm run hangs

interpreter is configured ok

pycharm run hangs

What spet did I miss in configuring a wsl python interpreter?



Solution

  • I have no idea what caused it, but it was at the project level.

    I deleted the .idea folder, and opened pycharm anew, and it magically worked with the same interpreter.

    thinking about it now, maybe it was the update from 2025.1 to 2025.2 where the WSL interpreter access had changed significantly.

    We will never know.