Jump to content

Install additional python libraries


ch3

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

 

Link to comment
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)

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...