Hi everyone am new to flyte am trying to run the workflows in pdf but I get this pdm run pyflyte src/experiments/workflows/workflow.py
Traceback (most recent call last):
File "/Users/eric/Documents/experiments/.venv/bin/pyflyte", line 5, in <module>
from flytekit.clis.sdk_in_container.pyflyte import main
File "/Users/eric/Documents/experiments/.venv/lib/python3.9/site-packages/flytekit/__init__.py", line 204, in <module>
from importlib_metadata import entry_points
ImportError: cannot import name 'entry_points' from 'importlib_metadata' (unknown location)
t
tall-lock-23197
03/07/2024, 4:48 PM
hi! could you reinstall your venv? also can you try installing the latest version of
importlib-metadata
?
g
glamorous-carpet-83516
03/07/2024, 7:24 PM
which version of flytekit you are using
c
curved-kilobyte-59985
03/08/2024, 8:32 AM
I am using this version flytekit==1.10.7 and importlib_metadata==7.0.2
curved-kilobyte-59985
03/08/2024, 8:47 AM
I now get this error
Copy code
from flytekit.clis.sdk_in_container.pyflyte import main
ModuleNotFoundError: No module named 'flytekit.clis.sdk_in_container.pyflyte' now for