FedML icon indicating copy to clipboard operation
FedML copied to clipboard

client Error : No module named 'numpy'

Open jplnasa5 opened this issue 4 years ago • 0 comments

i set one server and client1, client2 of three VMware Ubuntu in one computer, run sh run_fedavg_distributed_pytorch.sh 2 2 resnet56 homo 100 20 64 0.001 cifar10 "./../../../data/cifar10" on server, show:

Traceback (most recent call last): File "./main_fedavg.py", line 10, in import numpy as np ModuleNotFoundError: No module named 'numpy' Traceback (most recent call last): File "./main_fedavg.py", line 11, in import numpy as np ModuleNotFoundError: No module named 'numpy'

Primary job terminated normally, but 1 process returned a non-zero exit code. Per user-direction, the job has been aborted.


mpirun detected that one or more processes exited with non-zero status, thus causing the job to be terminated. The first process to do so was:

Process name: [[18963,1],2] Exit code: 1

but i can run import numpy in each client , why?

jplnasa5 avatar Sep 26 '21 07:09 jplnasa5