ubuntu install scrapy

来源:互联网 发布:苹果mac商店 编辑:程序博客网 时间:2024/05/16 12:32

使用apt-get安装scrapy后,调试起来总是不对,检查了一下版本,才知道默认安装的版本是0.14.04。o(╯□╰)o
查阅了一下官方文档,这是推荐的安装方法:

  1. Import the GPG key used to sign Scrapy packages into APT keyring:

    sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 627220E7
  2. Create /etc/apt/sources.list.d/scrapy.list file using the following command:

    echo 'deb http://archive.scrapy.org/ubuntu scrapy main' | sudo tee /etc/apt/sources.list.d/scrapy.list
  3. Update package lists and install the scrapy package:

    sudo apt-get update && sudo apt-get install scrapy

文档链接

1 0
原创粉丝点击