Logos Posted August 4, 2013 Share Posted August 4, 2013 Hi, everyone! How must look python code that look at directory: /houdini/python/lib/python2.6/site-packages/? I tryed to write: os.environ['HOUDINI_PYTHON_LIB']= os.path.pathsep.join(['%s/python/lib/'%HOUDINI_GLOB_PATH,'/opt/houdini/12.5.480/python/lib/^']) and few else variants, but it not help. all wrapper code: import os,sys,subprocess HOUDINI_MAJOR_RELEASE = '12' HOUDINI_MINOR_RELEASE = '5' HOUDINI_BUILD_VERSION = '480' # HOUDINI_INSTALL_PATH='/opt/houdini/' HOUDINI_GLOB_PATH='/home/logos/mnt/Hranilise/houdini' HOUDINI_BUILD = '%s.%s.%s'%( HOUDINI_MAJOR_RELEASE, HOUDINI_MINOR_RELEASE, HOUDINI_BUILD_VERSION) # HFS = HOUDINI_INSTALL_PATH + HOUDINI_BUILD os.environ['HFS']=HFS # HB = HFS + '/bin' os.environ['PATH']=os.path.pathsep.join([HB,os.environ['PATH']]) # os.environ['HOUDINI_TOOLBAR_PATH']= os.path.pathsep.join(['%s/toolbar'%HOUDINI_GLOB_PATH,'@/toolbar']) os.environ['HOUDINI_SCRIPT_PATH']= os.path.pathsep.join(['%s/scripts'%HOUDINI_GLOB_PATH,'@/scripts']) os.environ['HOUDINI_OTLSCAN_PATH']= os.path.pathsep.join(['%s/otls/'%HOUDINI_GLOB_PATH,'@/otls/']) os.environ['HOUDINI_VEX_PATH']= os.path.pathsep.join(['%s/vex/'%HOUDINI_GLOB_PATH,'@/vex/^']) os.environ['HOUDINI_GALLERY_PATH']= os.path.pathsep.join(['%s/gallery/'%HOUDINI_GLOB_PATH,'@/gallery/']) os.environ['HOUDINI_DSO_PATH']= os.path.pathsep.join(['%s/dso/'%HOUDINI_GLOB_PATH,'@/dso/']) os.environ['HOUDINI_PYTHON_LIB']= os.path.pathsep.join(['%s/python/lib/'%HOUDINI_GLOB_PATH,'/opt/houdini/12.5.480/python/lib/^']) Quote Link to comment Share on other sites More sharing options...
Owl Posted August 9, 2013 Share Posted August 9, 2013 Hi, why would you place your env bubble there? its meant to be executed prior to houdini Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.