thisisnic commented on issue #39465:
URL: https://github.com/apache/arrow/issues/39465#issuecomment-7039399432

   `No module named 'pyarrow.lib'` means the compiled part of pyarrow in the 
layer could not be loaded, which usually happens when the zip was built for a 
different OS, architecture or Python version than the Lambda runtime. I get the 
same error locally by importing a pyarrow wheel built for Python 3.11 from 
Python 3.12. Building the layer for the same platform and Python version as the 
function, or using the AWS SDK for pandas layer mentioned above, should resolve 
it.
   
   As this is a packaging question rather than a bug in Arrow and there has 
been no follow-up, I'm closing this; the user mailing list or GitHub 
Discussions are the best place for further help.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to