How install PyQt4 in Houdini?

   3960   1   0
User Avatar
Member
1 posts
Joined: April 2010
Offline
How I can successfully install PyQt in houdini 10 on Windows 7?

Thanks!
User Avatar
Member
224 posts
Joined: June 2009
Offline
Have a look at some of the discussions over on the Technical Discussion forum. I have also been installing some Python packages - I am no expert in any of this but, here is what I have found out.

Houdini on Windows always uses the embedded Python, so you have to install your packages in
…\Side Effects Software\Houdini 10.0.XXX\houdini\scripts\python

If your packages are pure python, then that is easy - just copy the python files over.

If the package includes complied code - then it may be a bit harder - it depends which compiler they used.

What you can do is install standalone Python2.5, then install your package (PyQT). Then go to
…\Python25\Lib\site-packages
and find all the PyQT files and folders that were installed, and copy them over to Houdini (same folder as above). Now restart Houdini and try importing some modules. If you are lucky, then it all works. If not, then:
* maybe the python path needs some extra stuff on it, (note that the .path files do not see to work in Houdini, so you need to update the path in some other way)
* or maybe you need to recompile PyQT using the right compiler (and that is not something I have tried before… )
Patrick
  • Quick Links