【问题标题】:getting `GLIBC_2.18' not found error in aws api gateway在 aws api 网关中找不到“GLIBC_2.18”错误
【发布时间】:2021-01-05 11:31:06
【问题描述】:

我正在用 aws chalice 编写 Api。 我的代码在本地运行良好。

但我收到以下回复: { "message": "Internal server error" } 我的 requirements.txt 文件包含:

web3==5.12.1
pycryptodome==3.9.8

关于签入 aws api 网关。发现如下错误:

错误信息:

{"errorMessage": "Unable to import module 'app': /lib64/libc.so.6: version `GLIBC_2.18' not found (required by /var/task/rusty_rlp.cpython-37m-x86_64-linux-gnu.so)", "errorType": "Runtime.ImportModuleError"}
Fri Sep 18 13:47:33 UTC 2020 : Lambda execution failed with status 200 due to customer function error: Unable to import module 'app': /lib64/libc.so.6: version `GLIBC_2.18' not found (required by /var/task/rusty_rlp.cpython-37m-x86_64-linux-gnu.so). Lambda request id: b8a849f9-2982-49a6-a010-f6a2dbe1655e

【问题讨论】:

    标签: python amazon-web-services chalice web3py


    【解决方案1】:

    更改 mu 需求文件解决了它:

    eth-account==0.5.2
    rlp==1.2.0
    web3==5.10.0
    

    【讨论】:

      猜你喜欢
      • 2019-08-17
      • 2021-05-05
      • 2015-12-04
      • 1970-01-01
      • 2020-05-04
      • 1970-01-01
      • 1970-01-01
      • 2017-09-09
      • 2021-09-25
      相关资源
      最近更新 更多