Hi all

I'm trynig to run scrip in mayapy from nuke 6.3v4 but it stuck on import
maya.standalone line, it works fine in Python IDLE :/


when i try this in nuke

> import subprocess as subp
> command = ["C:\\Program Files\\Autodesk\\Maya2012\\bin\\mayapy.exe",
> "D:\\Test\\mayaTest.py"]
> maya = subp.Popen(command, stdin=subp.PIPE, stdout=subp.PIPE,
> stderr=subp.PIPE)
> c = maya.communicate()
>

I get Error

> # Result:
>
> ('', 'Traceback (most recent call last):\r\n File "D:\\Test\\mayaTest.py",
> line 2, in <module>\r\n import maya.standalone as std\r\nImportError: DLL
> load failed: The specified procedure could not be found.\r\n')
>

is this even possible in nuke?

Thanks
Andrija
_______________________________________________
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

Reply via email to