我是python的新手。我在 64 位操作系统上运行 python 2.7.3 32 位版本。(我尝试了 64 位,但它没有锻炼)。
我按照教程在我的机器上安装了scrapy。我创建了一个项目,demoz。但是当我输入时scrapy crawl demoz
它显示错误。当我在 (C:\python27\scripts) 下点击 scrapy 命令时,我遇到了这个东西,它显示:
C:\Python27\Scripts>scrapy
Scrapy 0.14.2 - no active project
Usage:
scrapy <command> [options] [args]
Available commands:
fetch Fetch a URL using the Scrapy downloader
runspider Run a self-contained spider (without creating a project)
settings Get settings values
shell Interactive scraping console
startproject Create new project
version Print Scrapy version
view Open URL in browser, as seen by Scrapy
Use "scrapy <command> -h" to see more info about a command
C:\Python27\Scripts>
我想他们在安装中缺少一些东西可以帮助请..提前谢谢..