title: python: command not found on shell script
body: <p>I am getting this error, is telling me that python is not found, or I dont understand the error.</p>
  <p>I am not to versed on script files.</p>
  <p>./get-data-wiki.sh: line 48: python: command not found
  ./get-data-wiki.sh: line 53: python: command not found</p>
  <p>line 48: python $TOOLS_PATH/wikiextractor/WikiExtractor.py $WIKI_PATH/bz2/$WIKI_DUMP_NAME --processes 8 -q -o - \</p>
  <p>line 53: | python $LOWER_REMOVE_ACCENT \</p>
  <hr />
  <pre><code># Usage: ./get-data-wiki.sh $lg
  #
  
  set -e
  
  lg=$1  # input language
  
  # data path
  MAIN_PATH=$PWD
  WIKI_PATH=$PWD/data/wiki
  
  # tools paths
  TOOLS_PATH=$PWD/tools
  # echo $TOOLS_PATH
  
  TOKENIZE=$TOOLS_PATH/tokenize.sh
  LOWER_REMOVE_ACCENT=$TOOLS_PATH/lowercase_and_remove_accent.py
  
  # Wiki data
  WIKI_DUMP_NAME=${lg}wiki-latest-pages-articles.xml.bz2
  WIKI_DUMP_LINK=https://dumps.wikimedia.org/${lg}wiki/latest/$WIKI_DUMP_NAME
  
  # install tools
  # ./install-tools.sh
  
  # create Wiki paths
  mkdir -p $WIKI_PATH/bz2
  mkdir -p $WIKI_PATH/txt
  
  # download Wikipedia dump
  echo &quot;Downloading $lg Wikipedia dump from $WIKI_DUMP_LINK ...&quot;
  wget -c $WIKI_DUMP_LINK -P $WIKI_PATH/bz2/
  echo &quot;Downloaded $WIKI_DUMP_NAME in $WIKI_PATH/bz2/$WIKI_DUMP_NAME&quot;
  
  # extract and tokenize Wiki data
  cd $MAIN_PATH
  
  echo &quot;*** Cleaning and tokenizing $lg Wikipedia dump ... ***&quot;
  if [ ! -f $WIKI_PATH/txt/$lg.all ]; then
    python $TOOLS_PATH/wikiextractor/WikiExtractor.py $WIKI_PATH/bz2/$WIKI_DUMP_NAME --processes 8 -q -o - \
    | sed &quot;/^\s*\$/d&quot; \
    | grep -v &quot;^&lt;doc id=&quot; \
    | grep -v &quot;&lt;/doc&gt;\$&quot; \
    | $TOKENIZE $lg \
    | python $LOWER_REMOVE_ACCENT \
    &gt; $WIKI_PATH/txt/$lg.all
  fi
  echo &quot;*** Tokenized (+ lowercase + accent-removal) $lg Wikipedia dump to $WIKI_PATH/txt/train.${lg} ***&quot;
  </code></pre>