I am using PyCharm 2024.1 (Windows 10) and connecting to a remote Linux server via SSH. On the server, I have Conda installed under ~/miniconda3/.
When I first configure the remote interpreter in PyCharm, it works fine — I can select my Conda environment and run the project. However, after I close and reopen PyCharm, the interpreter configuration is gone. In Settings → Project → Python Interpreter, it shows:
Nothing to show
And in the IDE logs I see warnings like:
System conda executable is not found
auto-dispose 'Python Interpreter' id=com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable
I also noticed that if I configure the interpreter using only conda instead of the absolute path to conda or python, PyCharm cannot find it after restart (since SSH sessions don’t load .bashrc).
What I’ve tried
Re-adding the interpreter multiple times → works only until I restart PyCharm
Cleaning the local cache under
C:\Users\Administrator\AppData\Local\JetBrains\PyCharm2024.1\python_stubs and caches
Using Conda as "New environment" instead of "Existing environment"
Ensuring SSH configuration is saved in Settings → Tools → SSH Configurations Question
How can I make PyCharm persist my remote Conda interpreter so that it doesn’t disappear after I restart the IDE? instead of relying on conda detection? Or is there a way to make PyCharm reliably detect Conda across sessions?