pythonpykxkdb.ai

Issue installing python library kdbai-client


The conflict is caused by:
kdbai-client 1.6.0 depends on pykx<3.0.0 and >=2.1.1
kdbai-client 1.5.0 depends on pykx<3.0.0 and >=2.1.1
kdbai-client 1.4.0 depends on pykx<3.0.0 and >=2.1.1
kdbai-client 1.3.0 depends on pykx<3.0.0 and >=2.1.1
kdbai-client 1.2.4 depends on pykx<3.0.0 and >=2.1.1
kdbai-client 1.2.1 depends on pykx<3.0.0 and >=2.1.1
kdbai-client 1.2.0 depends on pykx<3.0.0 and >=2.1.1
kdbai-client 1.1.0 depends on pykx<3.0.0 and >=2.1.1
kdbai-client 0.1.2 depends on pykx<3.0.0 and >=2.1.1
kdbai-client 0.1.1 depends on pykx<2.0.0 and >=1.6.3

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip to attempt to solve the dependency conflict

this are the error message.

i created a fresh env with nothing in it and try to install the kdbai but it says that. Idk what's the solution when the list is empty.

Macos 11.7 python 3.13.2


Solution

  • Your issue Python 3.13 - which PyKX added support for in the recent 3.1.0 release (11th Feb 2025).

    https://code.kx.com/pykx/3.1/release-notes/changelog.html#additions

    Use an earlier Python version and you will be able to install kdbai-client (until it is updated to support PyKX 3.1.0 onwards)

    If your Mac is Intel/x86 you will need to build from source.

    1. Download the needed release https://github.com/KxSystems/pykx/releases
    2. Build using instructions https://github.com/KxSystems/pykx#building