我是python的新手。我在64位操作系統上運行Python 2.7.3版本32位。 (我嘗試了64位,但它沒有鍛鍊)。未知命令:抓取錯誤
我按照教程,在我的機器上安裝了scrapy。我創建了一個項目demoz。但是當我輸入scrapy crawl demoz
時,它顯示一個錯誤。我碰到這個事情來的時候我下擊打scrapy命令(C:\ python27 \ scripts)中就說明:
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>
我猜他們的東西在安裝丟失,可能會提前人幫助,請..謝謝..
什麼是你所得到的確切的錯誤運行
crawl
命令? scrapy的幫助反應不會有助於縮小問題的範圍。 – Drahkar 2012-04-12 12:06:07