安装

Dask-Gateway 由两个包组成

  • dask-gateway:客户端库,由 用户 安装。

  • dask-gateway-server:网关服务器,由 管理员 安装。

Dask-Gateway 用户 只需要 dask-gateway 客户端包即可与服务器交互。可以使用 condapip 进行安装。

使用 conda 安装

$ conda install -c conda-forge dask-gateway

使用 pip 安装

$ pip install dask-gateway

客户端库的版本应与服务器上运行的 dask-gateway-server 版本匹配。如果您不知道服务器上运行的版本,请联系您的管理员。

Kerberos 认证依赖 (可选)

如果您的 Dask-Gateway 服务器使用 Kerberos 进行认证,您还需要安装 kerberos 依赖。这可以使用 condapip 完成

使用 conda 安装

$ conda install -c conda-forge dask-gateway-kerberos

使用 pip 安装

$ pip install dask-gateway[kerberos]