1

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?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.