Jump to content

trouble importing hou in external python


Recommended Posts

actually i using the windows 64 bit version of houdini and also the 64 bit compile of python which seem to use the same compiler (shows up as MSC v.1400 64 bit (AMD64)

but i did try it with houdini python install now and the import hou thing doesn't throw any errors in there. so that's fine for me, i can just run my stuff through houdini's python then.

BUT now i get an error when with hou.releaseLicense() ?

though i'm guessing that's because i'm running in local licensing mode, so there is no such thing as releasing a license? if that's the reason it should be handled more gracefully though ;)

could anybody running apprentice without a license server confirm this?

Traceback (most recent call last):
  File "print_stats.py", line 24, in <module>
  File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.230/houdini/scripts/python\hou.py", line 1
8921, in releaseLicense
	return _hou.releaseLicense(*args)
hou.OperationFailed: The attempted operation failed.
Failed to release license

and any new ideas on why it wouldn't work with my own python 2.5.2 compiled with the same compiler?

Link to comment
Share on other sites

  • 1 month later...
well i was just trying to hack around basically, no specific reason. although i guess in an already established pipeline you would want to use your already installed python so it would just be good to know how to get houdini access from there.

Yes, I understand you because I tried that too same like your reason. ;-)

But now I give up. Because I think try other(like houdini develop, OTL ...)is better for saving my time.

But I hope you success the hack. Good Luck =-)

Edited by useHOM
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.

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...