Hi,
I’m trying to use p4python and getting DLL load failed. I downloaded the 2.7 version of p4python and it installs a P4API.pyd file. From what I’ve read, products that use a custom interpreter (like Deadline) are built with a specific version of Visual Studio and that means any 3rd party module that contains compiled C code must also be compiled with the same build environment.
Can you confirm? What are my options here? I suppose I could drop the p4python module and make calls directly to p4 on the CMD line as a workaround.
This is correct.
You could try installing the module using Deadline’s python’s pip. On windows it would be in C:\Program Files\Thinkbox\Deadline10\bin\Scripts\pip.exe
.
Thanks for the response. Unfortunately, I do not see this folder and a search for pip.exe under the Deadline installation folder returns nothing.
I think I’ll go with my workaround for now, but I’m still curious to see a Deadline solution.
Cheers!
Python has an ensurepip
module, which installs pip. So you could do
C:\Program Files\Thinkbox\Deadline10\bin\dpython.exe -m ensurepip
and then you’ll have pip in the above directory
1 Like