Search the Community
Showing results for tags 'modules'.
Found 3 results
Hi everyone, I’m trying to figure out how to import that library into Houdini (Windows 10. On Mac I did it, it was very easy). The version of python used by Houdini is Python 2.7.15 (default, Mar 10 2020, 16:25:26) [MSC v.1916 64 bit (AMD64)]. The error I encounter is the following: Python error: Traceback (most recent call last): File “”, line 11, in File “C:\Python27\Lib\site-packages\h5py_init_.py”, line 26, in from . import _errors ImportError: DLL load failed: Impossibile trovare il modulo specificato. I think the problem is the complied version. Binary wheels should be built using the same compiler used to build python, but I don’t know how to fix it. I’m horrible with compiling etc, so I’m not able to compile the version of Binary wheels by myself. Someone know if there some tutorial (video it would be better) that explain step by step how to do that wheels? Or better, someone have this binary version and can share to me? Thank you very much, any advice is very welcome. Cheers Luther
Afternoon all, I've come across this a problem a few times and never managed to get my head around it properly. Hopefully someone can give me a better understanding of how to do this. Ideally I'd like to have a collection/package of otls, scripts/modules, icons etc that equate to a toolset. I would like to be able to keep these separated from the houdini install and user prefs and just be able to 'plug them in' to houdini - ideally only changing a line or two in the houdini.env file. If I put all the bits and bobs in the correct locations in 'C:/users/garf/MyDocuments/houdini16.0' then it all works fine - it picks up the modules, connects the icons etc 'C:/Users/garf/Documents/houdini16.0/python2.7libs' 'C:/Users/garf/Documents/houdini16.0/config/Icons' 'C:/Users/garf/Documents/houdini16.0/shelves' However I want these to be in a separate package somewhere like this: 'C:/users/garf/Documents/MyExtraToolSet/houdini16.0/python2.7libs' 'C:/users/garf/Documents/MyExtraToolSet/houdini16.0/config/Icons' 'C:/users/garf/Documents/MyExtraToolSet/houdini16.0/shelves' in addition I've tried changing my HOUDINI_USER_PREF_DIR variable with the houdini.env file HOUDINI_USER_PREF_DIR=C:/users/garf/Documents/MyExtraToolSet/houdini__HVER__ but when I hconfig HOUDINI_USER_PREF_DIR in the shell, it still says 'C:/Users/garf/Documents/houdini16.0/' and nothing links up Any pointers appreciated. Cheers
Wooshum posted a topic in ScriptingHi All, When using external python modules from a python operator I usually use: import sys pyModPath = node.parm('pyModPath').eval() sys.path.append(pyModPath) This works perfectly for pure python modules but I am having issues with modules that require compiled external dependencies, in particular i am needing to use the pyproj module: https://pypi.python.org/pypi/pyproj? I have tried using a precompiled python wheel when installing through PIP but it still throws an error that the DLL could not be found in HOU (have double checked that I am using and installing for 64bit). I am typically installing the pip modules in the root Python27 folder and linking to the 'Lib\site-packages' folder in that directory (for pyre python I can link to modules anywhere). Unfortunately I am stuck using Windows at the moment. As a note: when using the pyproj module outside of Houdini (through the command line) it works fine. Does anyone have any tips / suggestions how to get these compiled modules functioning within HOU?