0

I m trying to run a scrapy spider in AWS Lambda.

I am getting this error :

module initialization error: 'twisted.internet.reactor'

how can I move forward ?

Edit : I read Scrapy throws error ReactorNotRestartable when runnning on AWS Lambda which relates to a different error. None of the answers seems to apply to my case.

Community
  • 1
  • 1
Hugo
  • 1,195
  • 2
  • 12
  • 36
  • Unmark the question. The situation is similar but the error is different. I have looked into the Crochet library you are supporting, I cannot use it. – Hugo Apr 12 '17 at 16:46
  • For anyone interested, I finally found out that something wen't wrong during the installation of twisted (the environnement wasn't exactly identical to AWS lambda environnement). I solved the issue by having a lambda function run scrapy installation steps then zip and send me the dependencies folder (this way the dependencies are built by and for AWS lambda) – Hugo Apr 18 '17 at 12:36

0 Answers0