Issues with remote conda interpreters
Hello everybody,
I work on a remote server on which I have a user miniconda installation.
I used to create remote SSH python interpreters as System Interpreters, indicating the path to my conda environment, e.g., /my/remote/server/user/miniconda3/installation/envs/bin/python
(see image attached below).

Now, with the latest PyCharm versions, even if I follow this procedure, the environment is created as a Virtualenv Environment.
This is causing me some problems, especially when debugging third-party libraries' functions, e.g., pytorch.
It seems the debugger cannot find the location of the remote libraries, i.e., when putting a breakpoint in a third-party library function, I get a pydev debugger: warning: trying to add breakpoint to file that does not exist
.
Moreover, even though I have a user miniconda installation, I do not find the Conda Environment option indicated in the docs https://www.jetbrains.com/help/pycharm/configuring-remote-interpreters-via-ssh.html (see image below).

Can anybody help me out, please?
Put here some other information, but please ask whatever you think is missing:
1. PyCharm version → PyCharm 2023.2.5 (Professional Edition), Runtime version: 17.0.9+7-b1000.46 aarch64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o ;
2. My local development setup → MacBook M1 Pro 2021 with Sonoma 14.2.1;
3. My remote development setup → Ubuntu 22.04 LTS.
Thank you in advance!
请先登录再写评论。
Hi, could you please try the latest PyCharm 2023.3.2? https://www.jetbrains.com/pycharm/download/
Hey, Andrey Resler, thanks for the reply!
I updated to the latest PyCharm version.
I can now see the Conda environment option, and I was able to add one of my user installation environments as an interpreter.
However, PyCharm cannot list the packages I installed with pip (see images below).
These are the packages listed by the IDE,
These are the ones present in the environment,
Moreover, I cannot see the libraries in the External Libraries section of the project.
If instead I try to add the conda environment as a System Interpreter, PyCharm again adds it as a Virtualenv Environment.
Is this behavior expected?
Thanks again for your time and help!
The new Python Packages tool window (https://www.jetbrains.com/help/pycharm/installing-uninstalling-and-upgrading-packages.html#packages-tool-window) don't have that option, but it should show you a combined list. There's a request for it PY-48047 (https://youtrack.jetbrains.com/issue/PY-48047)
Thanks for the heads up!
I switched to the pip package manager using the conda button in the toolbar and can now see all the packages.
Moreover (I don't know why, TBH), I can also see the Remote Libraries in the External Libraries section after switching.
I'd say my problem has been fixed :) Thanks for the time and replies!