解决ImportError: cannot import name 'HTTPClientFactory' from 'twisted.web.client' (unknown location)

Published on Aug. 22, 2023, 12:11 p.m.

ImportError: cannot import name ‘HTTPClientFactory’ from ‘twisted.web.client’ (unknown location)

germey/scrapyd:latest 镜像缺少python gerapy包

安装包到指定目录 https://note.youdao.com/web/#/file/recent/markdown/WEBab91c879d4a3489e919141cd1b23b728/

Deploy failed (500):

Processing >Failed

pip install -U Twisted==18.9.0

https://note.youdao.com/web/#/file/recent/markdown/WEBfc3436f4cd3a47b596f0100bc571d12a

scrapyd部署报错解决

尽量安装版本Scrapy==1.6.0 Twisted==18.9.0

Tags: