unsubscribe
On Mar 11, 2013, at 3:30 PM, Greg Ercolano <erco@(email surpressed)>
wrote:
> [posted to rush.general]
>
> Hi Dan,
>
> Hmm, try making a simple python script that looks like this:
>
> import os,sys
> print >> sys.stderr, "Hello, stderr"
>
> Does that load and run OK from within maya, or do you get those
> same module errors?
>
> If you get an error with that, then something much bigger is being
> broken.. might be just a PATH problem of some kind, as python looks
> at the PATH as well as the PYTHONPATH and PYTHONHOME.
>
>
>
> On 03/11/13 13:27, Mr. Daniel Browne wrote:
>> We just upgraded to CentOS 6 and now none of my submit scripts can be =
>> called from within maya. They fail with the following error:
>>
>> Could not find platform independent libraries <prefix>
>> Could not find platform dependent libraries <exec_prefix>
>> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
>> 'import site' failed; use -v for traceback
>> Traceback (most recent call last):
>> File =
>> "/EEP/Tools/Settings/rush/rushscripts_v102.42a9/submit-maya-python/submit-=
>> maya2012.py", line 18, in <module>
>> import os,sys,re,glob,shutil,time,Rush
>> ImportError: No module named os
>>
>> So far setting the PYTHONHOME var has not had an effect. I can't see =
>> exactly what the environment conflict comes from.
>
>
> --
> Greg Ercolano, erco@(email surpressed)
> Seriss Corporation
> Rush Render Queue, http://seriss.com/rush/
>
> Tel: +1 626-576-0010 ext.23
> Fax: +1 626-576-0020
> Cel: +1 310-266-8906
>
|