ch3 Posted October 31, 2017 Share Posted October 31, 2017 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 Quote Link to comment Share on other sites More sharing options...
ch3 Posted November 2, 2017 Author Share Posted November 2, 2017 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) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.