RunLLM was not able to help. All of my jobs are cr...
# flyte-support
g
RunLLM was not able to help. All of my jobs are crashing with error
ModuleNotFoundError: No module named 'site-packages'
(details in thread)
Copy code
[1/1] currentAttempt done. Last Error: USER::
[fdc528c0462d44c10a0e-n0-0] terminated with exit code (1). Reason [Error]. Message: 
                                          │
│ ❱ 51 │   class_obj_mod = importlib.import_module(".".join(class_obj_mod))    │
│                                                                              │
│ /usr/lib/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:992                                               │
│ in _call_with_frames_removed:241                                             │
│ 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 'site-packages'
.
g
what command did you run to register the workflow?
are you using the latest flytekit? I remember we have fixed it in the latest release
g
thanks for the response. im using
pyflyte run --remote file.py wf
i had latest version. I thought that was causing issue so i also tested older versions
other users are able to run the job with no issues using same repo, same container, etc
there are also no differences in flytekit version between myself and others who are able to run
g
is there any
site-packages
folder in you local directory?
g
no there isnt. also it seems like this error happens even before my script executes
everything runs fine inside the docker container
a
does this happen for other python scripts? what if you test locally? (like
pyflyte run file.py wf
)
g
they run fine locally