Jump to content
Sign in to follow this  
ch3

Install additional python libraries

Recommended Posts

I want to use an external python library to create and write out a pdf file from houdini. Maybe it's a simple thing to many, but I've been struggling for the past couple of hours, even if I've done this before!!

About a year ago I managed to usereportlab, but since I installed the latest houdini (or something else change on my computer) my python SOP fails to import the library and I am trying to figure out how to do it again.

What's the typical process of installing and importing any external library to houdini?

There is also the cairo library which would like to try.

 

 

Any help will be highly appreciated

thanks

 

Share this post


Link to post
Share on other sites

I think they since removed the installer which made things easier.

But just for the record and for my future self who will probably forget again.

 

1. Install python https://www.python.org/

2. From cmd go to C:\Python27\Scripts\

3. pip install reportlab (or any other package you may need)

4. copy C:\Python27\Lib\site-packages\reportlab to <userDocuments>\houdini16.0\python2.7libs (or link via env variable)

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×