
lambdaでエラー「AttributeError: module ‘os’ has no attribute ‘add_dll_directory’」が発生した時の対応方法について解説!
Windows11環境でFastAPIを使用し、Lambdaで「AttributeError: module 'os' has no attribute 'add_dll_directory'」エラーが発生した際の原因と解決方法について詳しく解説。Lambda Layerにnumpyを追加し、zip化時の問題を解決する手順を紹介。