【整理】Mac下pip升级Scrapy版本

原创文章,转载请注明: 转载自勤奋的小青蛙
本文链接地址: 【整理】Mac下pip升级Scrapy版本

在terminal里面看到scrapy的版本是1.0.3,为了升级到最新版本,可以采用一行命令即可。

sudo pip install --upgrade scrapy

scrapy-update

安装完成之后,查看版本:

☁  Code  scrapy --version
Scrapy 1.3.0 - no active project

Usage:
  scrapy <command> [options] [args]

Available commands:
  bench         Run quick benchmark test
  commands
  fetch         Fetch a URL using the Scrapy downloader
  genspider     Generate new spider using pre-defined templates
  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

  [ more ]      More commands available when run from project directory

Use "scrapy <command> -h" to see more info about a command
原创文章,转载请注明: 转载自勤奋的小青蛙
本文链接地址: 【整理】Mac下pip升级Scrapy版本

文章的脚注信息由WordPress的wp-posturl插件自动生成



|2|left
打赏

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: