loading...

re: Conda & Dealing with Conflicting Python(s) in your system VIEW POST

FULL DISCUSSION
 

I use conda for data science work; right now I have a simple bash function to start it up.

gogoconda ()
{
    export PATH="/Users/alysivji/anaconda/bin:$PATH"
    echo "Conda is activated"
}

Then $ gogoconda as required.

This seems a lot cleaner. Thanks!

 

@Aly Sivji, that is interesting. What script would contain your bash gogoconda function? Would you not get the same result by creating a 'gogoconda' shell script such as:

gogoconda.sh

#!/bin/bash

export PATH="/Users/alysivji/anaconda/bin:$PATH"
echo "Conda is activated"
 

I have that function in my ~/.bash_profile. And yes, you can also have a separate script. Might be easier to collect all your scripts into a central location.

Code of Conduct Report abuse