Hi everyone am new to flyte am trying to run the w...
# ask-the-community
e
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)
s
hi! could you reinstall your venv? also can you try installing the latest version of
importlib-metadata
?
k
which version of flytekit you are using
e
I am using this version flytekit==1.10.7 and importlib_metadata==7.0.2
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
Copy code
pdm run-workflow
s
but that module exists!
e
Yeah i fixed it thanks