函数计算部署flask框架的python 服务,在云端运行代码报错。但是pip list 查看numpy都是安装的,这是怎么回事? Please note and check the following:
- The Python version is: Python3.9 from “/usr/local/bin/python”
- The NumPy version is: “1.24.2”
and make sure that they are the versions you expect. Please carefully study the documentation linked above for further help.
Original error was: No module named ‘numpy.core._multiarray_umath’
可能是由于Python和NumPy的版本不兼容导致的
挂载这个公共层试下 Python39-SciPy1x 函数配置-编辑层
此答案来自钉钉群“阿里函数计算官网客户”