Jump to content

pycharm and hou


pelos

Recommended Posts

i am trying to set up the hou module in pycharm, so i added to the path of python2.7libs project structure and this is what i get.

 

import _hou
ImportError: DLL load failed: The specified module could not be found.

i am trying to find the _hou 

any one got something similar?

Edited by pelos
Link to comment
Share on other sites

  • 1 year later...
import  sys
sys.path.append('C:/Program Files/Side Effects Software/Houdini 16.5.536/houdini/python2.7libs/')
import hou

This does not work for me:

File "C:\Program Files\Side Effects Software\Houdini 16.5.536\houdini\python2.7libs\hou.py", line 19, in <module> import _hou
ImportError: DLL load failed: The specified module could not be found.

 

Link to comment
Share on other sites

  • 4 weeks later...

Thanks, @cakesson!

This is working:

os.environ['PATH'] = 'C:/PROGRA~1/SIDEEF~1/HOUDIN~1.536/bin;&'
import hou

 

This is not:

os.environ['PATH'] = 'C:/Program Files/Side Effects Software/Houdini 16.5.536/houdini/bin;&'
import hou

It`s because of spaces in the path? How can I build such string (path to Houdini bin with "~")?

Edited by kiryha
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...