Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

云函数报错 #49

Open
Wpenga opened this issue Sep 7, 2021 · 7 comments
Open

云函数报错 #49

Wpenga opened this issue Sep 7, 2021 · 7 comments

Comments

@Wpenga
Copy link

Wpenga commented Sep 7, 2021

日志:

START RequestId:6980dbf3-c23d-4000-a813-00b6863e6814

ERROR RequestId:6980dbf3-c23d-4000-a813-00b6863e6814 Result:{"errorCode":-1,"errorMessage":"Traceback (most recent call last):\n File "/var/runtime/python3/bootstrap.py", line 133, in init_handler\n func_handler = get_func_handler(file.rsplit(".", 1)[0], func)\n File "/var/runtime/python3/bootstrap.py", line 159, in get_func_handler\n mod = imp.load_module(mname, *imp.find_module(mname))\n File "/var/lang/python3/lib/python3.6/imp.py", line 234, in load_module\n return load_source(name, filename, file)\n File "/var/lang/python3/lib/python3.6/imp.py", line 172, in load_source\n module = _load(spec)\n File "\u003cfrozen importlib._bootstrap\u003e", line 675, in _load\n File "\u003cfrozen importlib._bootstrap\u003e", line 655, in _load_unlocked\n File "\u003cfrozen importlib._bootstrap_external\u003e", line 678, in exec_module\n File "\u003cfrozen importlib._bootstrap\u003e", line 205, in _call_with_frames_removed\n File "/var/user/index.py", line 1, in \u003cmodule\u003e\n import requests,json,time,re,login,logging,traceback,os,random,notify,datetime,util\n File "/var/user/login.py", line 6, in \u003cmodule\u003e\n import base64,rsa,time,requests,logging,traceback,os\nModuleNotFoundError: No module named 'rsa'","statusCode":443}

END RequestId:6980dbf3-c23d-4000-a813-00b6863e6814

Report RequestId:6980dbf3-c23d-4000-a813-00b6863e6814 Duration:0ms Memory:128MB MemUsage:0.000000MB

@YvoIovY
Copy link

YvoIovY commented Sep 7, 2021

你没安装python3

@Wpenga
Copy link
Author

Wpenga commented Sep 11, 2021

云函数环境是python3.6

@Wpenga
Copy link
Author

Wpenga commented Sep 11, 2021

realeas里的云函数不是最新版,没有沃邮箱

@YvoIovY
Copy link

YvoIovY commented Sep 11, 2021

作者从来没说realeas是最新版,也没必要更新realeas版本,代码直接部署云函数没有任何问题。

@Junfo
Copy link

Junfo commented Sep 15, 2021

我也是一样的错误 @srcrs

@wonderhong
Copy link

我也是一样的错误 @srcrs

老哥你弄好了吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@Junfo @Wpenga @YvoIovY @wonderhong and others