Hey Kasper :)
on OSX you need the nuke.so that’s inside the Python framework/site-packages folder: >>> sys.path.append( >>> '/Applications/Nuke8.0v1/Nuke8.0v1.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages’ >>> ) I don’t know the exact location on Windows, but it’s not in the regular plugins folder. Fredrik, if it crashes you should check your custom init.py and menu.py files for things that use GUI’s… those caused me problems. hope this helps greets arno On 12 dec. 2013, at 12:58, Fredrik Averpil <fredrik.aver...@gmail.com> wrote: > I just tried this really quickly from within Maya, by first appending Nuke's > site-packages to to sys.path followed by an "import nuke" ...but that crashed > Maya. So I'm also interested in doing this. > > Regards, > Fredrik > > > > On Thu, Dec 12, 2013 at 11:28 AM, Kasper Oerlemans | Filmmore > <kas...@filmmore.nl> wrote: > Hi guys, > > maybe a bit of a noob question, but now with nuke8 we should be able to > import the nuke module outside of nuke right? So my guess is that easiest way > to check if this works is by goigt to your nuk_install_folder/plugins in the > terminal and start python and try "import nuke". Or is this the wrong way? > > Anyway this doesn't work for me, I get "ImportError: No module named _nuke", > Am I overlooking something? > > thanx!! > > > Groetjes! > --------- > Kasper Oerlemans > VFX Supervisor > Entrepotdok 66 > 1018 AD Amsterdam > T: +31 20 530 9696 > M: +31 61 805 3019 > www.filmmore.eu > > > Unavailable on Thursdays > > > > > > > > > > _______________________________________________ > Nuke-python mailing list > Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > > > _______________________________________________ > Nuke-python mailing list > Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________ Nuke-python mailing list Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python