I'm trying to setup my dev environment. I installed flytekit and the requirements for flytesnacks in an venv as recommended here:
However, my pyflyte looks broken. I can't run any commands as they all fail with:
ModuleNotFoundError: No module named 'flyteidl.service.external_plugin_service_pb2_grpc'
That module definitely isn't installed in my venv, and I don't see the proto for it in the flyteidl repo either. Have I installed a wrong version of flytekit somehow?
05/30/2023, 9:28 PM
cc @Kevin Su
is this a renaming thing?
try to just upgrade flyteidl to latest for now
pip install --upgrade flyteidl
05/30/2023, 9:57 PM
Use flyteidl==1.5.8 instead
05/30/2023, 10:39 PM
we’ve yanked the latest 1.5.9 flyteidl release. sorry for the trouble.
05/31/2023, 12:21 PM
I re-installed flyteidl via:
pip install --upgrade flyteidl==1.5.8
But I still see the same error when trying to do
I have flytekit==1.6.2 installed
I found the issue. I'm on a mac and have a pyflyte installed in /opt/homebrew/bin, however i have no idea where that came from. I tried uninstalling flytectl, but the file remained. Trying to list files with brew didn't give any indications what package owns it, but iirc only flytectl is installed via brew in the env setup.
If I make sure to use the pyflyte in my venv then everything works.
Sorry for the confusion, although it's still confusing. 😄
05/31/2023, 4:25 PM
no worries, sorry again for the trouble. we’ve added a pin to avoid issues like this in the future.
05/31/2023, 4:26 PM
I'm not sure if this was related to anything on your end. 😄 That erroneous pyflyte binary on my system caused a lot of it I think. Just not sure where that came from