Python processor external script can't import pdgcmd/pdgjson
1502 1 0- lloydwood
- Member
- 106 posts
- Joined: Nov. 2007
- Offline
I'm trying to write a python processor top to run txmake on some input images as a bit of an exercise. I am following the docs: https://www.sidefx.com/docs/houdini/tops/stocknodes.html#generate [www.sidefx.com] and have managed to get the processor to generate some work items so that bit is working. I created an external python script to run the actual command as recommended but it is unable to import either pdgcmd or pdgjson. I'm not sure how to achieve that part and it's not entirely clear from the docs. I added $HHP/pdgjob/pdgcmd.py and $HHP/pdgjob/pdgjson.py in the files sections of the python processor top but this doesn't seem to do anything. What environment is the external script running in at the point of execution? Do I need an env var pointing at those modules or something?
- tpetrick
- Staff
- 600 posts
- Joined: May 2014
- Offline
-
- Quick Links