ubuntu - 为什么会没有“crawl”的命令
大家讲道理
大家讲道理 2017-04-21 11:15:50
0
2
427

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

为什么会显示 unknown command:crawl

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

Antworte allen(2)
刘奇

脚本里面没有带入环境变量,在bash下type crawl看一下全路径,然后爬虫脚本里命令写全路径就好。也可以export PATH

洪涛

在想scrapy建立的项目目录下面执行才行

Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage