Commit f397d5b2 authored by Rhydian Lewis's avatar Rhydian Lewis
Browse files

Fix for installing with python if conda is on system

parent 03ff3d59
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -19,12 +19,10 @@ else
  fi
fi

### If conda found activate environment
### If VirtualLab conda environment is found then we activate it
### If no conda, prerequisites are assumed installed in local python
if hash conda 2>/dev/null; then
  CONDAENV="$(basename -- $VL_DIR)"
  conda activate $CONDAENV
  #conda info --envs
if hash conda activate VirtualLab 2>/dev/null; then
  conda activate VirtualLab
fi

python3 $BIN_DIR/RunVirtualLab.py "${@}"