Heee Arno! ;-) Thanx! That works! Great! And under linux they are at /usr/local/Nuke8.0v1/lib/python2.7/site-packages (if you did a global install)
Thanx talk to you soon! Groetjes! --------- *Kasper Oerlemans* VFX Supervisor Entrepotdok 66 1018 AD Amsterdam T: +31 20 530 9696 M: +31 61 805 3019 www.filmmore.eu [image: filmmore]<http://www.filmmore.eu/> [image: imdb] <http://www.imdb.com/company/co0190130/>[image: twitter]<http://twitter.com/filmmore>[image: facebook] <http://www.facebook.com/FilmmoreINT/>[image: linkedin]<http://www.linkedin.com/company/filmmore-amsterdam/> *Unavailable on Thursdays* On Thu, Dec 12, 2013 at 1:32 PM, ArnoB <[email protected]> wrote: > 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 <[email protected]> > 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 < > [email protected]> 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 [image: >> filmmore]<http://www.filmmore.eu/> [image: >> imdb] <http://www.imdb.com/company/co0190130/>[image: >> twitter]<http://twitter.com/filmmore>[image: >> facebook] <http://www.facebook.com/FilmmoreINT/>[image: >> linkedin]<http://www.linkedin.com/company/filmmore-amsterdam/> *Unavailable >> on Thursdays* >> >> >> >> >> >> >> >> >> _______________________________________________ >> Nuke-python mailing list >> [email protected], http://forums.thefoundry.co.uk/ >> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python >> >> > _______________________________________________ > Nuke-python mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > > > > _______________________________________________ > Nuke-python mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > >
_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
