search

Home  >  Q&A  >  body text

ubuntu - 为什么会没有“crawl”的命令

在ubuntu下写爬虫时的最后一步scrapy crawl mininove -o scrapy_data.json时

为什么会显示 unknown command:crawl

大家讲道理大家讲道理2910 days ago432

reply all(2)I'll reply

  • 怪我咯

    怪我咯2017-04-21 11:17:50

    The environment variables are not included in the script, under bashtype crawl看一下全路径,然后爬虫脚本里命令写全路径就好。也可以export PATH

    reply
    0
  • PHP中文网

    PHP中文网2017-04-21 11:17:50

    Just execute it under the project directory where you want to create scrapy

    reply
    0
  • Cancelreply