pip 软件包在 Raspbian 上不可用

问题描述 投票:0回答:1

当我在带有 Raspbian OS 的 Raspberry Pi 4 上执行“pip install demoparser2”时,没有任何可用的软件包可供安装,但是当我在 Google Colab 等中执行此操作时,它会安装一个版本。软件包与 RPi 不兼容还是发生了什么?

这是 Google Colab 的成功输出。 在 RPi 上,它只是说“没有找到 demoparser2 的匹配发行版”

pip install demoparser2

Collecting demoparser2
  Downloading demoparser2-0.1.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.3/3.3 MB 49.3 MB/s eta 0:00:00
Requirement already satisfied: pandas in /usr/local/lib/python3.10/dist-packages (from demoparser2) (1.5.3)
Requirement already satisfied: numpy in /usr/local/lib/python3.10/dist-packages (from demoparser2) (1.23.5)
Requirement already satisfied: polars in /usr/local/lib/python3.10/dist-packages (from demoparser2) (0.17.3)
Requirement already satisfied: pyarrow in /usr/local/lib/python3.10/dist-packages (from demoparser2) (9.0.0)
Requirement already satisfied: tqdm in /usr/local/lib/python3.10/dist-packages (from demoparser2) (4.66.1)
Requirement already satisfied: python-dateutil>=2.8.1 in /usr/local/lib/python3.10/dist-packages (from pandas->demoparser2) (2.8.2)
Requirement already satisfied: pytz>=2020.1 in /usr/local/lib/python3.10/dist-packages (from pandas->demoparser2) (2023.3)
Requirement already satisfied: typing_extensions>=4.0.1 in /usr/local/lib/python3.10/dist-packages (from polars->demoparser2) (4.7.1)
Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.10/dist-packages (from python-dateutil>=2.8.1->pandas->demoparser2) (1.16.0)
Installing collected packages: demoparser2
Successfully installed demoparser2-0.1.6

我尝试安装 Raspbian OS 32 和 64 位只是为了看看是否有差异,但仍然没有软件包。甚至尝试将 python 更新到 3.10 并将 pip 更新到最新版本,但仍然没有软件包。我什至可以在 Windows 中打开终端并安装它,但不能在 Pi 上。

没有链接 https://www.piwheels.org/simple/demoparser2/

但是有 https://www.pypi.org/simple/demoparser2/

这是问题吗?

致以诚挚的问候

python pip raspberry-pi raspbian pypi
1个回答
0
投票
pip install demoparser2

ERROR: Could not find a version that satisfies the requirement demoparser2 (from versions: none)
ERROR: No matching distribution found for demoparser2
© www.soinside.com 2019 - 2024. All rights reserved.