cancel
Showing results for 
Search instead for 
Did you mean: 

How to Install PyKX?

ratata
New Contributor

Hi, I'm new to KDB+ and Q. I want to install PyKX on my Windows 10.

I tried `pip install pykdb` on my Python console but it returned the following:

 

Note: you may need to restart the kernel to use updated packages.
ERROR: Could not find a version that satisfies the requirement pykdb
ERROR: No matching distribution found for pykdb

 

Any help will be appreciated. Many thanks!

 

P.S: I apologize if this question is too trivial.

1 ACCEPTED SOLUTION

Thank you for your feedback @ratata

I searched for some clarification and this previous post provides it: Question for Installing PyKDB locally

My colleague, @davidcrossey, explains that PyKDB is currently only available for users of KX Insights or those undertaking evaluation of KX Insights and otherwise not generally available.

There are currently no plans for this to change in the near future. However, in the case that this does change, I will revert here with an update for you. 

"brogar/pykdb" interface is not a KX endorsed interface and has no affiliation with KX. However, we do share the link on our KX Interfaces page for your reference as I mentioned in my original response. 

Hope this clarification helps!

Thanks for sharing with the KX Community, 

Leah 

View solution in original post

5 REPLIES 5

LeahS
Moderator Moderator
Moderator

Hello @ratata

Welcome to the KX Community! The perfect place to guide you on your KDB+/Q journey.

No question is too trivial by any means. 

PyKDB's home of information is located here: https://code.kx.com/pykdb/

This home page presents links to PyKDB installation documentation, references resources that you can reach out to, offers comparisons, overviews, license information, examples and much more. 

*Information for clarification - this is currently only available for customers of KX Insights. 

Another link that we share on our KX Interfaces documentation is: https://github.com/brogar/pykdb - this is referenced for your convenience, but it is not a KX endorsed interface and has no affiliation with KX. *Therefore, we do not support it. 

Also, here is a previous welcome post with linked resources that might be helpful when new to kdb+/q: https://community.kx.com/t5/General/Hello-folks-this-is-new-q-bie/m-p/11056

Hope this helps you!

Happy Coding, 

Leah 

*This response was edited to enhance clarification. Please refer to subsequent responses where additional resources are recommended. 

ratata
New Contributor

Hi @LeahS, thank you very much for your reply and your words of encouragement!

I am quoting the following installation instruction from https://code.kx.com/pykdb/installing.html:

"""

``Then to install Pykdb using the KX PyPI server run the following command:

pip install --extra-index-url=https://$KX_PYPI_USER:$KX_PYPI_PASS@nexus.dl.kx.com/repository/pykdb/simple/ pykdb

Where the environment variables KX_PYPI_USER and KX_PYPI_PASS have been set as appropriate.

"""

How can I get the username and passwoArd to set the KX_PYPI_USER and KX_PYPI_PASS ?

Thank you again @LeahS!

Thank you for your feedback @ratata

I searched for some clarification and this previous post provides it: Question for Installing PyKDB locally

My colleague, @davidcrossey, explains that PyKDB is currently only available for users of KX Insights or those undertaking evaluation of KX Insights and otherwise not generally available.

There are currently no plans for this to change in the near future. However, in the case that this does change, I will revert here with an update for you. 

"brogar/pykdb" interface is not a KX endorsed interface and has no affiliation with KX. However, we do share the link on our KX Interfaces page for your reference as I mentioned in my original response. 

Hope this clarification helps!

Thanks for sharing with the KX Community, 

Leah 

LeahS
Moderator Moderator
Moderator

Hello @ratata

I would also like to recommend a course offered by our KX Academy:  Introduction to Python Interface - Learn how to use Pykdb 

All content on the KX Academy is free for anyone, no license or payment is required. 

You can register as a New User as seen in the screenshot below:

LeahS_0-1643887672775.png

The KX Academy presents a wide range of courses to help enhance your kdb+/q journey!

Happy Learning!

Leah 

rocuinneagain
Valued Contributor
Valued Contributor

PyKX is now available on PyPI

You can pip install pykx without any username/password.

Full details: Installation - PyKX