今天,我们的自动构建过程突然停止运行,安装“supervisor”时出现错误。我完全重建后也出现同样的错误。有人有其他兼容 EB 的方法来安装 Supervisor 吗?或者还有其他提示吗?
[ec2-user@ip-172-31-25-243 /]$ sudo easy_install supervisor
Searching for supervisor
Reading https://pypi.python.org/simple/supervisor/
Downloading https://files.pythonhosted.org/packages/d3/7f/c780b7471ba0ff4548967a9f7a8b0bfce222c3a496c3dfad0164172222b0/supervisor-4.2.2.tar.gz#sha256=5b2b8882ec8a3c3733cce6965cc098b6d80b417f21229ab90b18fe551d619f90
error: https://files.pythonhosted.org/packages/d3/7f/c780b7471ba0ff4548967a9f7a8b0bfce222c3a496c3dfad0164172222b0/supervisor-4.2.2.tar.gz#sha256=5b2b8882ec8a3c3733cce6965cc098b6d80b417f21229ab90b18fe551d619f90 hostname 'files.pythonhosted.org' doesn't match either of 'r.ssl.fastly.net', '*.catchpoint.com', '*.cnn.io', '******'
由于 StackExchange 发出“垃圾邮件”警告,我无法包含实际的域列表。
答案1
我可以通过改变easy_install supervisor
来解决这个问题pip install supervisor
(看https://forums.aws.amazon.com/message.jspa?messageID=978418)