You'll need to change your PyCharm project interpreter settings to use a local Python environment instead of WSL.
Follow these steps:
- Open PyCharm Settings/Preferences
- Go to Project → Python Interpreter
- Click the gear icon → Add
- Choose "System Interpreter" or "Virtualenv Environment" instead of "WSL"
- Select your local Python installation or create a new virtualenv
This will prevent PyCharm from automatically starting WSL when opening projects.