[Q&A] ModuleNotFoundError: No module named 'nvflare.fuel.f3.drivers.\\grpc' at hello-numpy-sag with FL simulator #2600
Unanswered
pablo-llorente
asked this question in
Q&A
Replies: 1 comment
-
@kirdan1223 thanks for the interest! I notice you are running on Windows OS. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Python version (
python3 -V
)3.10.11
NVFlare version (
python3 -m pip list | grep "nvflare"
)2.4.1
NVFlare branch (if running examples, please use the branch that corresponds to the NVFlare version,
git branch
)2.4
Operating system
Windows
Have you successfully run any of the following examples?
Please describe your question
Hello, I'm a bit newbe on this kinda applications, so this error might be so simple or I might failed on a simple first step. But I can't understand where could I failed, since I'm just starting with the simulator. First I couldn't execute nvflare as I got the error:
No module named 'resource'
- at the next path:This happened just after
python3 -m pip install nvflare
. I don't know what could I have done bad, but, well... I solved it by changingimport resource
, by:Next, I noticed python version 3.11 was not supported, so I uninstalled it and installed a previous one (3.10.11), re-made the last solution, and finally I could execute
nvflare simulator -h
. However, at the moment I clonned Nvflare, switch branch to 2.4 and executenvflare simulator NVFlare/examples/hello-world/hello-numpy-sag/jobs/hello-numpy-sag -w /tmp/nvflare/workspace_folder/ -n 8 -t 1
I got the next amout of errors and I have no idea how to solve them. I can guess than the RuntimeError is due to the first one, so the most important error isUnexpected exception: ModuleNotFoundError: No module named 'nvflare.fuel.f3.drivers.\\grpc'
:I cannot understand how I found that amount of "internal" errors on imports, where installation seemed to be correct. I will be so glad if you can help me.
Thanks you,
Pablo - kirdan1223
Beta Was this translation helpful? Give feedback.
All reactions