Can't install Scrapyd on EC2

霸气de小男生 提交于 2021-02-08 10:28:19

问题


i'm trying to install scrapyd service in a EC2 instance to deploy a scrapy project .

what i have done :

1- Imported the GPG key used to sign Scrapy packages into APT keyring:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 627220E7

2- Created /etc/apt/sources.list.d/scrapy.list file using the following command:

sudo su -c "echo 'deb http://archive.scrapy.org/ubuntu scrapy main' | sudo tee /etc/apt/sources.list.d/scrapy.list"

3- installing scrapyd

sudo apt-get update && sudo apt-get install scrapyd

i get the following error :

Err:7 http://archive.scrapy.org/ubuntu precise InRelease
Could not connect to archive.scrapy.org:80 (54.83.53.20), connection timed out
Err:8 http://archive.scrapy.org/ubuntu scrapy InRelease
Unable to connect to archive.scrapy.org:http:
Reading package lists... Done
N: Ignoring file 'scrapy.listecho' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
W: Failed to fetch http://archive.scrapy.org/ubuntu/dists/precise/InRelease  Could not connect to archive.scrapy.org:80 (54.83.53.20), connection timed out
W: Failed to fetch http://archive.scrapy.org/ubuntu/dists/scrapy/InRelease  Unable to connect to archive.scrapy.org:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
enter code here

thank you for your help

来源:https://stackoverflow.com/questions/46866421/cant-install-scrapyd-on-ec2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!