Hello, I'm trying to import an external python library “matplotlib” on Python SOP with a code below;
from matplotlib.colors import to_hex
I downloaded matplotlib 2.0.2 and extracted under User/username/MyDocuments/houdini16.0/python2.7libs, while referring some previous threads and this video tutorial; https://www.youtube.com/watch?v=xoVORgBT190 [www.youtube.com]
The last folder (python2.7libs) is what I created.
However, the python SOP seems not to find matplotlib. The error message is below;
Error
Python error: Traceback (most recent call last):
File “”, line 4, in
ImportError: No module named matplotlib.colors
Is there anything else I can try to import it?
My working environment is;
Windows 7 professional
Houdini Indie 16.0.632
matplotlib 2.0.2
Thanks a lot!
Import python libraries (matplotlib) on Houdini
1850 0 1- kayk5654
- Member
- 6 posts
- Joined: June 2014
- Offline
-
- Quick Links