Refer the README file in the dataset/ directory
pip3 install flwr 'flwr[simulation]' torch torchvision torchmetrics pandas matplotlib scikit-learn ray tqdm
Follow the description 1 or 2 d below
1. Remove grpcio and reinstall it. (Reference)
remove grpcio using the following command. (
pip3 uninstall grpcio
conda clean --all
pip3 cache purge
After removing grpcio, download grpcio 1.51.0 in it and install the release file
2. Set the grpc configuration before install grpcio (Reference)
export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1
pip3 install grpcio
python3 simulation.py