GZimmermann

GZimmermann

About Me

Connect

LOCATION
Not Specified
ウェブサイト

Houdini Engine

Availability

Not Specified

Recent Forum Posts

Perforce Houdini integration? 2016年2月19日21:05

not that I know of. I am experimenting with the perforce python module though. I have it working on Mac OSX and its pretty cool. But I have problems using the python module under windows. Problem is that on Mac Houdini is just using the systems python (OSX has python) while on Windows Houdini comes with its own, somewhat strange version of python. Must be a conflict there, not sure.

If you are using a Mac you ar in luck though, its pretty awesome.

perforce p4python module with Houdini's python problem 2016年2月18日16:21

Hi,

does anybody use the Perforce python package within Houdini? I am trying to use the perforce python package p4python, see here:

https://www.perforce.com/perforce/doc.current/manuals/p4script/03_python.html [perforce.com]

On OSX I just pip installed the package like this:

sudo pip install p4python

and now within Houdini I can import the module in any python code like this:

import P4


But on windows I am running into trouble! I have a python version installed on a system level (not the one that comes with Houdini). I am able to install p4python there with no problem (also using pip). I can then import the module in python just fine. But when I am installing it under the houdini python, the import fails. I tried several ways.

Here is one of the things I tried:

in a cmd shell:
<path-to-houdini-installation>\bin\hython -m pip install p4python

it seems to install fine. I can now see the P4.py and the P4API.pyd files under the site-packages directory under the houdini python (2.7). But if I now try within Houdini to do an “import P4” it fails saying:

…P4.py, line 410, in <module> import P4API
importError: DLL load failed: The specified module could not be found.

even thou P4API.pyd is right there!

I don't get it. It works just fine on the Mac OS X and it works just fine in any “normal” python installation on windows. But it does not work with Houdini's python. Any ideas?

Using Houdini 15