我想安装 hdbcli 软件包(SAP HANA 连接器)。
当我用
pip
搜索时,找到了该软件包,但是当我想安装它时,pip
找不到该软件包。
指定当前包也不会产生任何结果。
pip install hdbcli==2.6.61
我该如何解决这个问题?
> pip search hbdcli
hdbcli (2.6.61) - SAP HANA Python Client
> pip install hdbcli
ERROR: Could not find a version that satisfies the requirement hdbcli (from versions: none)
ERROR: No matching distribution found for hdbcli
这通常意味着 pip 找不到该项目的任何 distribution 与您的 python 环境兼容:
这个项目似乎从未发布过任何源发行版(sdist)。所以它必须是兼容的轮子。
您是否偶然使用了 Python 3.9?据我所知,Python 3.9 没有 wheel 发行版。
使用
path/to/pythonX.Y -m pip debug --verbose
获取“兼容标签”列表。然后将此列表与该项目的可用 wheel 发行版的列表进行比较。
就我而言,带有
hexbytes
包。这对我有帮助。
pip cache purge
pip 的缓存,所有 virtulenv 的缓存。
尝试手动安装。 也许图书馆不同步