Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No menu for adding WSL python interpreter in PyCharm

I was following this guide from official jetbrains page, until the step 2 comes in the existence.

In the picture mentioned in that page, has so many options like ssh, wsl, vagrant, docker, etc. In my pycharm (latest 2019.3.4) it only shows 4 options - venv, conda, pipenv and system-interpreter.

There is no WSL menu in the add python interpreter dialog.

See the below image:

enter image description here

Searched web for an hour and found no results that show how to fix it. I started plugin search in the PyCharm if there's an external plugin to do so, but there were no plugin named as WSL.

I don't know how to setup the WSL interpreter, I have python3.8 installed on my wsl right now.

Any help will be appreciated!

like image 366
Animesh Sahu Avatar asked Apr 15 '20 06:04

Animesh Sahu


1 Answers

I have solved this by

  • Uninstalling pycharm with history and cache.
  • Removing folders completely from C:\Users\%USERNAME%\AppData\Local and C:\Users\%USERNAME%\AppData\Roaming\JetBrains and
  • Clean re-install of pycharm
  • WSL interpreter option shows up as normal
  • Ideavim is creating a conflict I guess.
like image 167
Hakan Avatar answered Nov 08 '22 02:11

Hakan