issue in dependency

ERROR: Cannot install -r requirements_client.txt (line 16), -r requirements_client.txt (line 19), grpcio==1.43.0 and tensorflow-aarch64 because these package versions have conflicting dependencies.

The conflict is caused by:
The user requested grpcio==1.43.0
flwr 0.18.0 depends on grpcio<=1.43.0 and >=1.27.2
tensorflow-aarch64 2.12.0 depends on grpcio<2.0 and >=1.24.3
tensorboard 2.12.3 depends on grpcio>=1.48.2
The user requested grpcio==1.43.0
flwr 0.18.0 depends on grpcio<=1.43.0 and >=1.27.2
tensorflow-aarch64 2.12.0 depends on grpcio<2.0 and >=1.24.3
tensorboard 2.12.2 depends on grpcio>=1.48.2
The user requested grpcio==1.43.0
flwr 0.18.0 depends on grpcio<=1.43.0 and >=1.27.2
tensorflow-aarch64 2.12.0 depends on grpcio<2.0 and >=1.24.3
tensorboard 2.12.1 depends on grpcio>=1.48.2
The user requested grpcio==1.43.0
flwr 0.18.0 depends on grpcio<=1.43.0 and >=1.27.2
tensorflow-aarch64 2.12.0 depends on grpcio<2.0 and >=1.24.3
tensorboard 2.12.0 depends on grpcio>=1.48.2

To fix this you could try to:

  1. loosen the range of package versions you’ve specified
  2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit Dependency Resolution - pip documentation v25.3.dev0

Hello @amine , from the error log it seems you are installing a very old version of flower (0.18.0, that’s from February 2022). I would recommend moving to a newer version of Flower which is also compatible with more recent versions of popular ML packages like tensorflow.