hi,
i like to write a small py app to build a nuke script.
i'm using under xp the IDLE (Python GUI). but when i import nuke i get the message:
Traceback (most recent call last):
File "C:\Program Files\Python25\test_delete.py", line 7, in <module>
import nuke
ImportError: No module named nuke
i have a environment variable PYTHONPATH C:\Program Files\OpenLibraries\python;C:\Program Files\Nuke5.0v1\python25.zip;C:\Program Files\Nuke5.0v1\DLLs;C:\Program Files\Nuke5.0v1\lib;C:\Program Files\Nuke5.0v1\lib\plat-win;C:\Program Files\Nuke5.0v1\lib\lib-tk;C:\Program Files\Nuke5.0v1;C:\Program Files\Nuke5.0v1\lib\site-packages;C:\temp\python;C:\Program Files\Nuke5.0v1\plugins;C:\Program Files\Nuke5.0v1\;C:\Program Files\Autodesk\Maya2008\Python\lib\site-packages
in maya it works just fine. i have to
import maya.standalone
maya.standalone.initialize()
import maya.cmds as mc
and with this i can use every module of the maya py library ... but how can i use the nuke py library??????
thanks in advanced.







