difference between hython and python?

   3473   4   0
User Avatar
Member
23 posts
Joined: July 2008
Offline
Hi, I' wondering what the difference between hython and python is.

I can load hip-files that use custom built dso:s with hython but not with python.



Hython:

using hython I write….

hou.hipFile.load(“myhipfile.hip”)

which makes the file load successfully.


Python:

using python I write….

import sys, os
sys.path.append(“/opt/hfs9.5.170/houdini/scripts/python”)
import hou //this is where I get the errors
hou.hipFile.load(“myhipfile.hip”)

then I get DSO errors:
“_ZNK7OP_Node11getFullPathER9UT_String” for Sops
and
_ZN7UT_LockC1Ebb for Vops


why is this, do I need to load anything else when using python before calling “import hou”?

Thanks!
Edited by - Nov. 8, 2008 12:17:25
User Avatar
Member
401 posts
Joined:
Offline
maybe you need to import hou as well?

import hou
this is not a science fair.
User Avatar
Member
23 posts
Joined: July 2008
Offline
thanks for the response, but I'm importing hou… that's when I get the errors.

Basically this has nothing to do with my hip-file, instead the actual problem is when loading houdini using “import hou” which then makes houdini load all digital assets. There is nothing wrong with the assets as they work when using hython or the houdini application.

Hython must be doing something that I'm not aware of…
User Avatar
Member
401 posts
Joined:
Offline
ops:
it was so hidden between the comments … maybe
this is not a science fair.
User Avatar
Member
23 posts
Joined: July 2008
Offline
maybe
  • Quick Links