External tools WSL2 $PyInterpreterDirectory$

I have tools like flake8, isort, pydocstyle in my virtualenv (installed either in $ProjectFileDir$/.venv or $ProjectFileDir$/.direnv  so the path is not always the same)

I would have expected $PyInterpreterDirectory$ to work but it is empty.

How can I configure the external tools?


1 comment
Official comment

Hi, I reproduced the issue and submitted a bug report -- https://youtrack.jetbrains.com/issue/PY-56557/PyInterpreterDirectory-and-some-other-macros-are-empty-when-using-WSL-interpreter

Please follow the issue for updates, feel free to vote and comment, and let us know if you need any help. If you're not familiar with YouTrack, please see https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications

Please sign in to leave a comment.