How to get a family type preview image from a Family Document with Dynamo?

Is there any reason why you are installing the downloaded zip on the ‘Program Files’ version of IronPython?

The code is not using the future module correctly. See here
__future__.py should already be in C:\Program Files\IronPython 2.7\Lib folder

If you follow the steps in this post and it should work

Some notes on posting code