https://flyte.org logo
#ask-the-community
Title
# ask-the-community
e

Eric Peter Wairagala

03/07/2024, 10:34 AM
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

Samhita Alla

03/07/2024, 4:48 PM
hi! could you reinstall your venv? also can you try installing the latest version of
importlib-metadata
?
k

Kevin Su

03/07/2024, 7:24 PM
which version of flytekit you are using
e

Eric Peter Wairagala

03/08/2024, 8:32 AM
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

Samhita Alla

03/08/2024, 4:36 PM
but that module exists!
e

Eric Peter Wairagala

03/13/2024, 9:22 AM
Yeah i fixed it thanks
4 Views