提问人:datahack 提问时间:3/16/2023 最后编辑:Jérôme Radixdatahack 更新时间:4/15/2023 访问量:182
使用 pyzstd 模块时 AWS Lambda 中的错误
Error in AWS Lambda when using pyzstd module
问:
我正在尝试在 Lambda 服务上使用模块 pyzstd,但出现以下错误:
pyzstd module: Neither C implementation nor CFFI implementation can be imported. If pyzstd module is dynamically linked to zstd library, make sure not to remove zstd library, and the run-time zstd library's version can't be lower than that at compile-time.
我已经使用命令在Macbook M1上本地安装了这个库。然后我从 venv 压缩了站点包,并将其与处理程序代码一起上传。pip install pyzstd
答:
2赞
Ma Lin
4/15/2023
#1
二进制文件是为 M1 和 macOS 编译的。
如果在其他体系结构/操作系统上运行它,它将无法导入。.so
评论