$ModuleSdkPath$ sometimes empty in configuration

Hi,

I configured a dependency update calling python env. as an external program in the Debug Configuration.

But sometimes the makro variable $ModuleSdkPath$ is empty and the calls are broken as the external program could not be found. As I am new to Pycharm I do not know if I am doing something wrong but as it still worked sometimes I do not know what to change.

 

And how it looks sometimes, which seems better.

Cheers,

Nils

0
3 comments

Hi, a quick testing has shown that the following conditions must be met for it to work:

- Local interpreter selected for the project (not Docker or SSH)

- An active editor exists, e.g. a file is opened and you see the interpreter name in the bottom-right corner

Maybe other conditions as well, but those I found out at least.

0
Avatar
Permanently deleted user

Hi Andrey,

thanks for testing.

So I have to open a code file that I can start the selected configuration (or better the external programs). Does it make sense? Also the interpreter name is set the whole time. It seems directly related to the file opened.

0

Yes, I agree it could work better. Please feel free to submit a ticket to https://youtrack.jetbrains.com/issues/py

0

Please sign in to leave a comment.