title: "scrapy: command not found" on running through shell script
body: <p>I have a shell script through which I am running multiple test scripts, crawling data with Scrapy and navigating to multiple directories. The script looks something like this : </p>
  
  <pre><code>export PATH=$PATH
  echo $PATH
  cd wait/test/ScrapyCrawl
  python runner.py #Test file
  scrapy crawl Flipkart
  scrapy crawl shopin1
  scrapy crawl Happily
  scrapy crawl Healthkart
  scrapy crawl Dezains
  scrapy crawl Fnp
  scrapy crawl Vmate
  scrapy crawl Exlives
  scrapy crawl Dgifts
  scrapy crawl Babyoye
  scrapy crawl Purp
  scrapy crawl Fabf
  scrapy crawl Zansaar
  scrapy crawl Shop19
  scrapy crawl Engrave
  scrapy crawl Carat
  scrapy crawl Todu
  scrapy crawl Hit
  scrapy crawl Limeroad
  scrapy crawl Perfico
  python runner2.py #Test file
  cd ..
  cd ..
  cd ..
  cd subscribe/test/ScrapyCrawl
  python runner.py #Test file
  scrapy crawl Flipkart
  scrapy crawl shopin1
  scrapy crawl Happily
  scrapy crawl Healthkart
  scrapy crawl Dezains
  scrapy crawl Fnp
  scrapy crawl Vmate
  scrapy crawl Exlives
  scrapy crawl Dgifts
  scrapy crawl Babyoye
  scrapy crawl Purp
  scrapy crawl Fabf
  scrapy crawl Zansaar
  scrapy crawl Shop19
  scrapy crawl Engrave
  scrapy crawl Carat
  scrapy crawl Todu
  scrapy crawl Hit
  scrapy crawl Limeroad
  scrapy crawl Perfico
  python runner2.py #Test file.
  </code></pre>
  
  <p>But when I run the script, the python scripts run properly but it throws error </p>
  
  <pre><code>script2.sh: line 7: scrapy: command not found
  script2.sh: line 8: scrapy: command not found
  script2.sh: line 9: scrapy: command not found
  script2.sh: line 10: scrapy: command not found
  script2.sh: line 11: scrapy: command not found
  </code></pre>
  
  <p>and so on .. wherever scrapy is called. Please help. I have already used <code>export PATH=$PATH</code>. I am new to shell scripting. Thanks.</p>