I am trying to use shfl python library. When I import shfl, I get the error ModuleNotFoundError: No module named 'shfl'
, and apparently I cannot install it.
I have used three following commands and all are unsuccessful with the errors I mention below (I use conda). My python version is 3.10.12
. My conda version is 23.5.0
, and my pip version is 23.1.2
.
1- pip install shfl
(based on this link) ---> I get this error:
ERROR: Could not find a version that satisfies the requirement shfl (from versions: none)
ERROR: No matching distribution found for shfl
2- pip install shfl==0.1.0
(based on this link) ---> I get this error:
ERROR: Could not find a version that satisfies the requirement shfl==0.1.0 (from versions: none)
ERROR: No matching distribution found for shfl==0.1.0
3- conda install -c conda-forge shfl
(because I use conda environment) ---> I get this error:
PackagesNotFoundError: The following packages are not available from current channels:
- shfl
It seems that there is no 'shfl' package in PyPI. Search from PyPI 'shfl'
So, you should 'git clone' from Federated-Learning-Framework repo
Then, pip install /any/location/cloned/directory