# How to compile the source code and install the PyQ package on Windows

**URL:** <https://forum.kx.com/t/how-to-compile-the-source-code-and-install-the-pyq-package-on-windows/7491>\
**Category:** Community Support\
**Tags:** kdb-and-q\
**Created:** [December 8, 2011, 7:09am UTC](https://forum.kx.com/t/how-to-compile-the-source-code-and-install-the-pyq-package-on-windows/7491 "2011-12-08T07:09:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![halley](https://avatars.discourse-cdn.com/v4/letter/h/bcef8e/32.png) [@halley](https://forum.kx.com/u/halley)\
**Post date:** [December 8, 2011, 7:09am UTC](https://forum.kx.com/t/how-to-compile-the-source-code-and-install-the-pyq-package-on-windows/7491/1 "2011-12-08T07:09:00Z")

</div>

Hi, there,I am asking for your help to call q from python , give detailinstruction how to compile the source code and install the PyQ packageon Windows XP platform.This link ( [http://code.kx.com/wiki/Contrib/PyQ](http://code.kx.com/wiki/Contrib/PyQ) ) introduces PyQ to dothe job. I download the source code from [http://code.kx.com/svn/contrib/serpent.speak/trunk/Q/](http://code.kx.com/svn/contrib/serpent.speak/trunk/Q/). But i am a novice both to Python and KDB+, still don’t know how tocompile and install on my machine (Windows XP SP3, KDB+ 32 trialversion, Python 2.6.1) .Is there someone kind to give some step by step guidance ? Thanks,Halley
