cannot use Full Remote mode with CLion when using miniconda

Answered

maybe related to this one:
https://intellij-support.jetbrains.com/hc/en-us/community/posts/360003982579-How-to-use-anaconda-miniconda3-c-development-environments-with-CLion-

I can load the cmake project when launching the clion project from terminal after `conda activate my-profile` with `clion`.

I cannot do the same when using Full Remote mode, how to solve this problem in CLion?

5 comments
Comment actions Permalink

Hello!

In CLion 2021.3 EAP we added the ability to initialize toolchain environment via script - https://blog.jetbrains.com/clion/2021/09/clion-starts-2021-3-eap/#toolchains_and_environments. Maybe this feature will help in your scenario?

0
Comment actions Permalink

I have two environment yml files managed by Miniconda. What can I do? CLion 2021.3 EAP  seems to support one yml file only. 

0
Comment actions Permalink

I'm not familiar with Conda, sorry. As far as I understand, in Terminal you activate one environment called "my-profile", but at the same time you have two environment.yml files. Why is that?

0
Comment actions Permalink

This is our project setup. There is no overlapping dependencies from the two environment.yml but we need to separate the dependencies into two yml due to our project setup using external submodules. E.g.  in-house project A depends on open-source project B. So we have two dependencies yml, one for B and one for A.

We need the miniconda build because conan build does not work well generating python binding.

0
Comment actions Permalink

Thank you for the explanation! Indeed in CLion it's possible to specify only one script that initializes the environment. And I can't come up with a workaround for your scenario, sorry.

0

Please sign in to leave a comment.