WSL2 & run configuration with virtual env

Hi,

i'm running pycharm with development environment based on my wsl2 pycharm, there is an interpreter configured in wsl2 debian as a virtual environment and i would like to use it for Run Configuration.

the problem is, that it does not excecute activate.sh at any point - so i end up with code running on default OS python.

Could you point me where/how can i set it up?

0
1 comment

Hello, 

Unfortunately, support for venvs in WSL wasn't fully implemented yet. Here is a related thread.

Also, please try workaround from this comment.

0

Please sign in to leave a comment.