# How can I install PyQ on CentOS 7 with kdb 32 bit?

**URL:** <https://forum.kx.com/t/how-can-i-install-pyq-on-centos-7-with-kdb-32-bit/9427>\
**Category:** Community Support\
**Tags:** kdb-and-q\
**Created:** [February 1, 2015, 12:33pm UTC](https://forum.kx.com/t/how-can-i-install-pyq-on-centos-7-with-kdb-32-bit/9427 "2015-02-01T12:33:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![LamHinYan](https://avatars.discourse-cdn.com/v4/letter/l/35a633/32.png) [@LamHinYan](https://forum.kx.com/u/LamHinYan)\
**Post date:** [February 1, 2015, 12:33pm UTC](https://forum.kx.com/t/how-can-i-install-pyq-on-centos-7-with-kdb-32-bit/9427/1 "2015-02-01T12:33:00Z")

</div>

The following procedures produced the l64 binaries of PyQ on CentOS7. How can I get the l32 binaries? How can I get it without root? Thx.

============================  
[http://code.kx.com/wiki/Contrib/PyQ](http://code.kx.com/wiki/Contrib/PyQ)

login as root

unzip kdb to /root/q

easy\_install pip

pip install -i [https://pypi.enlnt.com](https://pypi.enlnt.com) pyq

./python.q

./p.k

./l64/py.so

./l64/p.so

---

<div class="post-metadata">

**Author:** ![a\_11](https://avatars.discourse-cdn.com/v4/letter/a/ecb155/32.png) [@a\_11](https://forum.kx.com/u/a_11)\
**Post date:** [February 5, 2015, 12:36am UTC](https://forum.kx.com/t/how-can-i-install-pyq-on-centos-7-with-kdb-32-bit/9427/2 "2015-02-05T00:36:00Z")

</div>

On Sunday, February 1, 2015 at 7:33:11 AM UTC-5, Yan Yan wrote:

> The following procedures produced the l64 binaries of PyQ on CentOS7. How can I get the l32 binaries? How can I get it without root? Thx.

&nbsp;

You can find instructions at \<[http://stackoverflow.com/a/24268143\](http://stackoverflow.com/a/24268143%5C)\>.

---

<div class="post-metadata">

**Author:** ![LamHinYan](https://avatars.discourse-cdn.com/v4/letter/l/35a633/32.png) [@LamHinYan](https://forum.kx.com/u/LamHinYan)\
**Post date:** [February 6, 2015, 12:46am UTC](https://forum.kx.com/t/how-can-i-install-pyq-on-centos-7-with-kdb-32-bit/9427/3 "2015-02-06T00:46:00Z")

</div>

Thx. I think your suggestion should work in python 32 bit. But that would be limited by the 32 bit address space. I have just found that qPython is a native python driver that works w/o any C++ bridge. And it worked on centos7 + python 64 bit ^\_^

[http://www.devnet.de/exxeleron/qpython/](http://www.devnet.de/exxeleron/qpython/)

---

<div class="post-metadata">

**Author:** ![a\_11](https://avatars.discourse-cdn.com/v4/letter/a/ecb155/32.png) [@a\_11](https://forum.kx.com/u/a_11)\
**Post date:** [February 8, 2015, 7:22pm UTC](https://forum.kx.com/t/how-can-i-install-pyq-on-centos-7-with-kdb-32-bit/9427/4 "2015-02-08T19:22:00Z")

</div>

On Thursday, February 5, 2015 at 7:46:45 PM UTC-5, Yan Yan wrote:

> Thx. I think your suggestion should work in python 32 bit. But that would be limited by the 32 bit address space. I have just found that qPython is a native python driver that works w/o any C++ bridge.

PyQ and qPython solve two different problems. &nbsp;qPython is a Python client for kdb+, while PyQ is Python running inside the kdb+ process.

Take a look at the access times for PyQ: \<[https://pyq.enlnt.com/slides/#/4\](https://pyq.enlnt.com/slides/#/4%5C)\>. &nbsp;I bet you won’t achieve that with any client-side solution.

&nbsp;&nbsp;

---

<div class="post-metadata">

**Author:** ![LamHinYan](https://avatars.discourse-cdn.com/v4/letter/l/35a633/32.png) [@LamHinYan](https://forum.kx.com/u/LamHinYan)\
**Post date:** [February 9, 2015, 6:03am UTC](https://forum.kx.com/t/how-can-i-install-pyq-on-centos-7-with-kdb-32-bit/9427/5 "2015-02-09T06:03:00Z")

</div>

Alex: Your response to the “Sorting half of a list” is quite interesting ^\_^  
IIRC I have compiled PyQ on centos6.6 32 bit, copied the binaries to centos6.6 64 bit, and ran kdb 32 bit embedded in python 64 bit. I have yet to try that on centos7 64 bit. Cross-compiling requires a bit of work.  
Does the embedded kdb in PyQ listen on any network port? Thx.
