无法在Python中安装shfl。

huangapple go评论90阅读模式
英文:

Cannot install shfl in python

问题

我正在尝试使用 shfl Python 库。当我导入 shfl 时,我收到错误消息 ModuleNotFoundError: No module named 'shfl',显然我无法安装它。

我尝试了以下三个命令,都未成功,出现了下面我提到的错误(我使用 conda)。我的 Python 版本是 3.10.12。我的 conda 版本是 23.5.0,我的 pip 版本是 23.1.2

1- pip install shfl(基于此链接)---> 我收到以下错误消息:

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(基于此链接)---> 我收到以下错误消息:

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(因为我使用 conda 环境)---> 我收到以下错误消息:

PackagesNotFoundError: The following packages are not available from current channels:

  - shfl
英文:

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

答案1

得分: 0

似乎在PyPI中找不到名为'shfl'的包。
在PyPI中搜索'shfl'

所以,你应该从Federated-Learning-Framework仓库中进行'git克隆'。

然后,使用pip安装/克隆目录的任意位置。

英文:

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

huangapple
  • 本文由 发表于 2023年7月11日 08:45:06
  • 转载请务必保留本文链接:https://go.coder-hub.com/76658088.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定