pythonpython-3.xpip

Pip install does not find package, but pip search does


I want to install the hdbcli package (SAP HANA connector).

When I search with pip the package is being found, but when I want to install it, pip can't find the package.

Specifiying the current package also yields no results.

pip install hdbcli==2.6.61

How do I solve this?

> 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

Solution

  • This usually means pip could not find any distribution of that project that would be compatible with your python environment:

    This project does not seem to have published any source distribution (sdist) ever. So it has to be a compatible wheel.

    Are you by chance on Python 3.9? As far as I can tell there are no wheel distributions for Python 3.9.

    Use path/to/pythonX.Y -m pip debug --verbose to get a list of "Compatible tags". Then compare this list with the list of available wheel distributions for that project.