export ANACONDA_DIR=/opt/anaconda
export PATH=${ANACONDA_DIR}/bin:${PATH}
export PYTHON=${ANACONDA_DIR}/bin/python
export LD_LIBRARY_PATH=${ANACONDA_DIR}/lib:${LD_LIBRARY_PATH}

ANACONDA_DIR=/opt/anaconda
PATH=${ANACONDA_DIR}/bin:${PATH}
PYTHON=${ANACONDA_DIR}/bin/python
LD_LIBRARY_PATH=${ANACONDA_DIR}/lib:${LD_LIBRARY_PATH}


--- 
+++ 
@@ -1,5 +1,4 @@
-ANACONDA_DIR=/opt/anaconda
-PATH=${ANACONDA_DIR}/bin:${PATH}
-PYTHON=${ANACONDA_DIR}/bin/python
-LD_LIBRARY_PATH=${ANACONDA_DIR}/lib:${LD_LIBRARY_PATH}
-
+export ANACONDA_DIR=/opt/anaconda
+export PATH=${ANACONDA_DIR}/bin:${PATH}
+export PYTHON=${ANACONDA_DIR}/bin/python
+export LD_LIBRARY_PATH=${ANACONDA_DIR}/lib:${LD_LIBRARY_PATH}
Fix - added missing export
