Hello again, Timur.
Continuing configuring afanasy )
now i have a goal - to use our wrapped maya for rendering, i've modified(for example mayarender.cmd) for launching our wrapper script instead maya render executable, all attributes passed successfully, and all works fine from commandline.
But when it launches from afrender: i've got messages like:
afrender Returns: Finished PID=7428: Exit Code=1 Status=1
task output: File "d:\dev\pipeline\cgru\2.2.0\python\lib\site.py", line 176 file=sys.stderr) ^ SyntaxError: invalid syntax
we using python 2.7 on win7x64, i 've tried to clean my environments from cgru python3.4 paths, but still catches that error.
can u recommend me some way to fix this issue?
Python question
Re: Python question
Hi.
This can be when Maya's Python 2x uses scripts form CGRU's Python 3x.
You should reset CGRU PYTHONHOME variable.
Add to you cmd:
set PYTHONHOME=
This can be when Maya's Python 2x uses scripts form CGRU's Python 3x.
You should reset CGRU PYTHONHOME variable.
Add to you cmd:
set PYTHONHOME=
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).