Search code examples
pythonodoowindows-subsystem-for-linux

WSL 2 : How to run project under wsl partition throught Pycharm?



I want to run my Odoo 13 located in my WSL 2 (ubuntu 20.04) with Pycharm,
I configured everything but when I clicked the run button, I got this error : **/bin/bash: line 0: cd: \wsl$Ubuntu-20.04optodoo13: No such file or directory**
Here are some print screens of my configuration :
[![enter image description here][1]][1] [![Interpreters configuration][2]][2]
I want to point out that the pycharm is installed in windows environment and the odoo folders are inside wsl.


PS : OMG guys, can you see the images that i uploaded?
[1]: https://i.sstatic.net/4x6B7.png [2]: https://i.sstatic.net/gOybG.png


Solution

  • I found a workarround, I move the project directories to windows partition.