I'm trying to import the nuke module from a standalone PySide panel (not
launched from Nuke, using local Python install). See here
<http://pastebin.com/QPzdzaAS> for example code. It gives me an import
error saying it can't import a dll file.
*ImportError: Failed to load C:\Program Files\Nuke9.0v8\nuke-9.0.8.dll*
But if I run the same import code as a simple script without PySide it
works.
sys.path.append("C:/Program Files/Nuke9.0v8/lib/site-packages")
os.environ["NUKE_INTERACTIVE"] = "1"
import nuke
I have the Nuke9.0v8 folder in my systems PATH env (where the dll file is
located) but I still get the import error.
It feels like I'm missing something obvious, but I can't get it to work.
Any ideas?
Best regards,
Simon
-------------------------------
Simon Björk
Compositor/TD
+46 (0)70-2859503
www.bjorkvisuals.com
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python