开发者社区 > 云原生 > 正文

请问这个怎么解决? { "errorMessage": "Module initializa

请问这个怎么解决?

{ "errorMessage": "Module initialization error: 'Version mismatch: this is the 'cffi' package version 1.15.1, located in '/code/cffi/api.py'. When we import the top-level '_cffi_backend' extension module, we get version 1.15.0, located in '/var/fc/lang/python3.9/lib/python3.9/site-packages/_cffi_backend.cpython-39-x86_64-linux-gnu.so'. The two versions should be equal; check your installation.'", "errorType": "UserCodeError", "stackTrace": [ "Exception: Version mismatch: this is the 'cffi' package version 1.15.1", "located in '/code/cffi/api.py'. When we import the top-level '_cffi_backend' extension module", "we get version 1.15.0", "located in '/var/fc/lang/python3.9/lib/python3.9/site-packages/_cffi_backend.cpython-39-x86_64-linux-gnu.so'. The two versions should be equal; check your installation." ] }

展开
收起
云上静思 2022-11-01 14:32:25 520 0
1 条回答
写回答
取消 提交回答
  • 版本冲突了, cffi这个库, 你可以尝试从1.15.1降级到1.15.0看看

    此答案来自钉钉群“阿里函数计算官网"

    2022-11-01 18:33:01
    赞同 展开评论 打赏
问答分类:
问答地址:

阿里云拥有国内全面的云原生产品技术以及大规模的云原生应用实践,通过全面容器化、核心技术互联网化、应用 Serverless 化三大范式,助力制造业企业高效上云,实现系统稳定、应用敏捷智能。拥抱云原生,让创新无处不在。

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载