Hello ! I have a question which is maybe really s...
# ask-the-community
n
Hello ! I have a question which is maybe really simple to answer (or not 😉 ) I have a workflow, which I register with
pyflyte register /path/to/worflow.py --image dockerimage:latest
The workflow got registered, but I have this error :
│ ❱ 235 │   │   task_module = importlib.import_module(name=task_module)  # typ │
│                                                                              │
│ /usr/lib64/python3.10/importlib/__init__.py:126 in import_module             │
│                                                                              │
│ ❱ 126 │   return _bootstrap._gcd_import(name[level:], package, level)        │
│ in _gcd_import:1050                                                          │
│ in _find_and_load:1027                                                       │
│ in _find_and_load_unlocked:992                                               │
│ in _call_with_frames_removed:241                                             │
│ in _gcd_import:1050                                                          │
│ in _find_and_load:1027                                                       │
│ in _find_and_load_unlocked:1004                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
ModuleNotFoundError: No module named 'workflows'
ps : 'workflow' is the folder name where my workflow.py is located. I am not managing to solve this error. Is anyone familiar with it ? 🙂 Thank you
j
does your workflows folder
__init__.py
in it? also
worflow.py
is just a typo in here right