I encountered it the other day when I tried to operate selenium with lambda.
Did you set permission? Apparently, if you use a version that does not support os, you will get this error.
Since the OS of lambda is Linux, install the version corresponding to Linux and then upload it to the layer.
For this, it is easy to use aws cloud9 because you need to prepare a Linux environment.
>> Scraping with selenium on Lambda
Recommended Posts