Python: pip, external packages

   5143   3   3
User Avatar
Member
467 posts
Joined: Aug. 2014
Offline
Has someone managed to install pip and use external packages with Python that ships with Houdini (on Windows)?
Alternatively, is it possible to tell Houdini to use other Python installation as long as it's of the same version, or is it the version used by Houdini some custom build?
User Avatar
Member
1192 posts
Joined: July 2005
Offline
Does this help in any way?

http://www.sidefx.com/docs/houdini15.0/hom/locations#disk [sidefx.com]

http://www.sidefx.com/docs/houdini15.0/hom/cb/wxpython [sidefx.com]
Dragos Stefan
producer + director @ www.dsg.ro
www.dragosstefan.ro
User Avatar
Member
467 posts
Joined: Aug. 2014
Offline
Thanks.

After reading the first link that you provided I decided to clean up my system a bit from various installations of Python, and leave only the one that comes with Houdini. After modifying Windows environment paths to point to this single Python instance only, I launched shell with admin privileges and installed pip without any problems. It was that simple. ops:
User Avatar
Member
383 posts
Joined: June 2010
Offline
But you will just be able to install pure python packages. For packages with c/cpp dependencies you would have to configure a visual cpp compiler for your pip environment, which fails in 99% of all cases. The easiest way is to switch linux or maybe use 2 interpreters with execnet
http://codespeak.net/execnet/example/hybridpython.html [codespeak.net]
www.woogieworks.at
  • Quick Links