Maruf Khan
Maruf Khan

Reputation: 130

Base Interpreter in Pycharm doesn't show Python from Windows Subsystem for Linux [Ubuntu 20.04]

I am trying to create a project in my WSL-Ubuntu20.04 (WSL-2) through the Pycharm Professional. And, when I select my desired directory in WSL and choose Virtualenv from Environment settings, there is something wrong in the Base interpreter setting. It can't detect the Python interpreter from WSl-Ubuntu20.04, rather it shows all the existing interpreters from my Windows 10 (2004) machine.



Please see this Screenshot.

Upvotes: 0

Views: 449

Answers (1)

user2235698
user2235698

Reputation: 7579

Creating virtual environments with WSL is not supported yet, please vote here https://youtrack.jetbrains.com/issue/PY-32853 (thumbs up near the title)

Upvotes: 1

Related Questions