Back to Blog
Latest version of python for mac 10.7.56/26/2023 ![]() ![]() ![]() The section mucking with DYLD_LIBARY_PATH is me trying to get it working with Houdini 14: -– /bin/tcsh -c setenv VERSIONER_PYTHON_VERSION 2.6 setenv VERSIONER_PYTHON_PREFER_32_BIT no cd /Library/Frameworks/amework/Versions/14.0.258/Resources source houdini_setup /usr/bin/python -u /Applications/pfx/qube/api/python/qb/backend/child_bootstrapper.py –port 62619 –kind houdini -– houdiniPy> print houdiniPy> import sys houdiniPy> import os houdiniPy> import time houdiniPy> import sys, os houdiniPy> def enableHouModule(): import sys,os if sys.platform = ‘linux2’ and hasattr(sys, “setdlopenflags”): old_dlopen_flags = sys.getdlopenflags() import DLFCN sys.setdlopenflags(old_dlopen_flags | DLFCN.RTLD_GLOBAL) try: import hou except ImportError: # Add $HFS/houdini/python2.xlibs to sys.path so Python can find the # hou module. This used to work with Houdini 11 and 12. Getting this error again with Houdini 14.0.258 running on OS X 10.8.5. Did find: /Library/Frameworks/amework/Versions/12.5.427/Libraries/libHoudiniAPPS2.dylib: GC capability mismatch /Library/Frameworks/amework/Versions/12.5.427/Resources/houdini/python2.6libs/./././Libraries/libHoudiniAPPS2.dylib: GC capability mismatch I am getting /Library/Frameworks/amework/Versions/12.5.427/Resources Traceback (most recent call last): File “enableHouModule.py”, line 31, in enableHouModule() File “enableHouModule.py”, line 17, in enableHouModule import DLFCN ImportError: No module named DLFCN if I use this script or the following if I just try to import hou import hou File “/Library/Frameworks/amework/Versions/12.5.427/Resources/houdini/python2.6libs/hou.py”, line 18, in import _hou ImportError: dlopen(/Library/Frameworks/amework/Versions/12.5.427/Resources/houdini/python2.6libs/_hou.so, 2): Library not loaded: Referenced from: /Library/Frameworks/amework/Versions/12.5.427/Houdini Reason: no suitable image found.
0 Comments
Read More
Leave a Reply. |