Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5049

activate diffrent conda installation from sshfs

$
0
0

Good Day to you all,

I was wondering if it is possible to use a shared Conda installation on a remote machine. The remote machine is running ubuntu 12 (I have no influence). I use in Windows 10, with the latest updates.

Since it is Ubuntu 12, I cannot run the visual studio code remote ssh. But that's what I kind of want.

So far I installed miniconda3 and set up sshfs for windows and mapped "the folder".

If I use install conda on Linux/Ubuntu, I can modify the .bashrc file and change the conda installation path:

# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/[...]/sharedConda/bin/conda''shell.bash''hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
    eval "$__conda_setup"
else
    if [ -f "/[...]/sharedConda/etc/profile.d/conda.sh" ]; then
        . "/[...]/sharedConda/etc/profile.d/conda.sh"
    else
        export PATH="/[...]/sharedConda/bin:$PATH"
    fi
fi
unset __conda_setup
# <<< conda initialize <<<

then it works fine.

Now my questions:

Is this also possible under windows? and how? is there something similar to .bashrc?


Viewing all articles
Browse latest Browse all 5049

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>