1.把Scrapy簽名的GPG密鑰添加到APT的鑰匙環中: 2.執行如下命令,創建 /etc/apt/sources.list.d/scrapy.list 文件: 3.更新包列表並安裝 scrapy 0.25: ...
1.把Scrapy簽名的GPG密鑰添加到APT的鑰匙環中:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 627220E7
2.執行如下命令,創建 /etc/apt/sources.list.d/scrapy.list 文件:
echo 'deb http://archive.scrapy.org/ubuntu scrapy main' | sudo tee /etc/apt/sources.list.d/scrapy.list
3.更新包列表並安裝 scrapy-0.25:
sudo apt-get update && sudo apt-get install scrapy-0.25