Installing PyQt4 in Nuke 6.3 on Windows26 Nov 2012 #Nuke #Python #Windows
A few steps to get PyQt working inside of Nuke 6.3 (Windows only for now).
Please note that you need your own menu.py in place for this to work. In case you need this set up first, check out one of my previous articles: Nuke 6.3 Small studio setup for Win/Mac.
- Install 64-bit Python 2.6 from here into C:\python26.
- Install the PyQt 4.6 snapshot from here into C:\python26_64 and make sure to untick the “Qt runtime” checkbox.
- Copy all the files inside of C:\Python26_64\Lib\site-packages to
\lib\site-packages or to a server location of your choice.
If you copied the files to a folder residing on the server, add the following to your menu.py (and modify):
PyQt should now run inside of Nuke 6.3, to be used like this:
from PyQt4 import QtGui label = QtGui.QLabel("Hello World") label.show()
Please note that you could uninstall both Python 2.6 and the PyQt snapshot if you wish. The files needed have been added to Nuke.