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?
Python: pip, external packages
5141 3 3- ajz3d
- Member
- 466 posts
- Joined: Aug. 2014
- Offline
- digitallysane
- Member
- 1192 posts
- Joined: July 2005
- Offline
- ajz3d
- Member
- 466 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:
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:
- dulo
- 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]
http://codespeak.net/execnet/example/hybridpython.html [codespeak.net]
-
- Quick Links