Installation of olace-pubsubplus using pip

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

Installation of olace-pubsubplus using pip

问题

我想使用 solace-pubsubplus Python API。因此,我尝试在 Ubuntu 20.04 上安装 solace-pubsubplus,但出现以下错误:

错误:找不到满足 solace-pubsubplus==1.5.0 要求的版本(可用版本:0.2.0、0.2.1)
错误:找不到 solace-pubsubplus==1.5.0 的匹配版本。

请有人能帮助我吗?

英文:

I want to use solace-pubsubplus python api.So I am trying to install solace-pubsubplus in ubuntu:20:04 but I am getting following error:

ERROR: Could not find a version that satisfies the requirement solace-pubsubplus==1.5.0 (from versions: 0.2.0, 0.2.1)
ERROR: No matching distribution found for solace-pubsubplus==1.5.0

can anyone please help me?

答案1

得分: 0

请仔细检查您是否尝试在受支持的环境中运行它: https://docs.solace.com/API/API-Developer-Guide/Supported-Environments.htm#Python

在您的情况下,x86_64 可能会让您困惑:
> 带有 Linux 2.6 (x86_64) 或更高版本的 Linux 变体

英文:

Please double check that you are trying to run it in a Supported Environment: https://docs.solace.com/API/API-Developer-Guide/Supported-Environments.htm#Python

In your case the x86_64 might be tripping you up:
> Linux variants with Linux 2.6 (x86_64) or later

答案2

得分: 0

"And please make sure you have the latest version of pip
pip install --upgrade pip"

英文:

And please make sure you have the latest version of pip
pip install --upgrade pip

答案3

得分: 0

我正在使用 Docker 并从 Mac 构建 Docker 镜像。因此,在构建和运行 Docker 镜像时,我必须使用 --platform 参数。

英文:

I was using docker and building docker image from mac. So I had to use --platform while building and running docker image.

huangapple
  • 本文由 发表于 2023年5月22日 14:06:20
  • 转载请务必保留本文链接:https://go.coder-hub.com/76303402.html
匿名

发表评论

匿名网友

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

确定