2020-09-25 12:49:38 +00:00
|
|
|
|
|
|
|
export KOMRADE_SHOW_LOG=0
|
|
|
|
|
2020-09-25 13:11:46 +00:00
|
|
|
echo "`which python`"
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-09-25 12:49:38 +00:00
|
|
|
SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|
|
|
pathvenv=`realpath "$SCRIPTPATH/../venv"`
|
|
|
|
pathconda=`realpath "$SCRIPTPATH/../../lib/miniconda3"`
|
|
|
|
|
2020-09-25 13:11:46 +00:00
|
|
|
echo $SCRIPTPATH
|
|
|
|
echo $pathvenv
|
|
|
|
echo $pathconda
|
|
|
|
|
|
|
|
source $pathconda/etc/profile.d/conda.sh
|
|
|
|
|
2020-09-25 12:49:38 +00:00
|
|
|
export PATH="$pathconda/bin:$PATH"
|
2020-09-25 13:11:46 +00:00
|
|
|
#echo $PATH
|
2020-09-25 12:49:38 +00:00
|
|
|
|
2020-09-25 13:11:46 +00:00
|
|
|
echo "`which conda`"
|
|
|
|
conda activate
|
2020-09-25 12:49:38 +00:00
|
|
|
conda activate "$pathvenv"
|
2020-09-25 13:11:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
#echo "`which python`"
|