You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 25, 2021. It is now read-only.
ERROR: (gcloud.functions.deploy) OperationError: code=3, message=Function failed on loading user code. Error message: Code in file main.py can't be loaded.
Did you list all required modules in requirements.txt?
Detailed stack trace: Traceback (most recent call last):
File "/env/local/lib/python3.7/site-packages/google/cloud/functions/worker.py", line 305, in check_or_load_user_function
_function_handler.load_user_function()
File "/env/local/lib/python3.7/site-packages/google/cloud/functions/worker.py", line 184, in load_user_function
spec.loader.exec_module(main)
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "/user_code/main.py", line 1, in
import playbooks
File "/user_code/playbooks/init.py", line 3, in
import pendulum
ModuleNotFoundError: No module named 'pendulum'
The text was updated successfully, but these errors were encountered:
ERROR: (gcloud.functions.deploy) OperationError: code=3, message=Function failed on loading user code. Error message: Code in file main.py can't be loaded.
Did you list all required modules in requirements.txt?
Detailed stack trace: Traceback (most recent call last):
File "/env/local/lib/python3.7/site-packages/google/cloud/functions/worker.py", line 305, in check_or_load_user_function
_function_handler.load_user_function()
File "/env/local/lib/python3.7/site-packages/google/cloud/functions/worker.py", line 184, in load_user_function
spec.loader.exec_module(main)
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "/user_code/main.py", line 1, in
import playbooks
File "/user_code/playbooks/init.py", line 3, in
import pendulum
ModuleNotFoundError: No module named 'pendulum'
The text was updated successfully, but these errors were encountered: