Pip install does not find package, but pip search does

Viewed 4692

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?

enter image description here

2 Answers

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

  • Python interpreter major and minor version
  • operating system
  • CPU bitness

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.

Related