Hi 

This is probably a simple issue and therefore a dumb question, but I'm testing 
out wxPython and have a simple test script.

#!/usr/bin/env python

import wx

def test():
    nuke.message('Boo!')


Simply without the 'import wx' line,it works - with, it doesn't. (RuntimeError: 
/Volumes/1_media/application_support/Nuke/nukeSettings/nukePython/test.py : 
error interpreting this plugin)

So I've tried adding wx to Nukes internal python site-packages which I'm not 
sure is necessary. Same issue.

So 

1) Is this even possible (wx via Nuke)

2) Do I need to add wx to the site package inside Nuke, or is this handled 
anyway by the shebang and therefore pointing to the already installed wx.
3) Or is this likely to be an incorrect version for Nukes 2.6 python (I 
installed for 2.7)


I should add that wxPython is installed and working correctly with 2.7 outside 
of Nuke.

 
Howard
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to