相关疑难解决方法(0)

未知命令:抓取错误

我是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>
Run Code Online (Sandbox Code Playgroud)

我想他们是安装中缺少的东西,任何人都可以帮助请...提前感谢..

python web-crawler scrapy

23
推荐指数
2
解决办法
3万
查看次数

标签 统计

python ×1

scrapy ×1

web-crawler ×1