This is a quick start up guide for using Houdini with yt.

Download Houdini

You can download Houdini from the SideFX website right here. Note, you can choose to buy a license or go with an "Apprentice" license for free. There are some limitations with the free license including a maximum resolution of 1280x720 for images and a watermark will appear on each image. For the full range of supported and unsupported features with each sort of license please refer to the SideFX comparison tables.

Install yt

There are a few different ways to install yt. We'd recommend installing with conda or miniconda. This way if you need to roll back your Python install to match that installed in Houdini, one can accomplish this easily with:

/PATH TO CONDA/conda install python=2.7.##
where the "##" refers to whatever Python install Houdini is using.

Get all your paths in order

You'll want to make sure both the Houdini directories and yt installed Python libraries are in your path.

On a Mac I've added the following to my .bash_profile to run the Houdini setup file which sets up the Houdini paths:

alias houdini_setup='dirold=$(pwd); cd /Library/Frameworks/Houdini.framework/Versions/15.5.565/Resources; source houdini_setup; cd $dirold'

To run Houdini with the appropriate paths, I've added the following combination of Houdini and yt-installed Python paths as an alias to run Houdini from the command line with "houdini_run":

alias houdini_run='pathold=$PATH; PATH=/Users/jillnaiman1/yt-conda/bin:/Users/jillnaiman1/yt-conda/sbin:/Library/Frameworks/Houdini.framework/Versions/15.5.565/Resources/bin:/Library/Frameworks/Houdini.framework/Versions/15.5.565/Resources/houdini/sbin;/Library/Frameworks/Houdini.framework/Versions/15.5.565/Resources/bin/houdini; PATH=$pathold'

Test yt Import

To test that you can grab the necessary yt files, first create a new Python shell in Houdini as shown below:

Then one must simply type "import yt" into this console to check that everything imports ok.