Jump to content


P4Python not working in Maya 2019

P4Python Maya2019 Windows x64

  • Please log in to reply
No replies to this topic

#1 MarcF

MarcF

    Newbie

  • Members
  • Pip
  • 1 posts
  • LocationCalifornia

Posted 31 October 2019 - 08:59 PM

Having trouble using the P4Python with Maya 2019.
I'm getting the following error:

// Error: file: C:/Program Files/Autodesk/Maya2019/scripts/others/pluginWin.mel line 935: ImportError: file C:\Program Files\Autodesk\Maya2019\Python\Lib\site-packages\P4.py line 410: DLL load failed: The specified module could not be found. //

From research this leads me to believe that the P4API lib is incompatible with Maya because they have been compiled with different versions.
I ran mayapy.exe and used depends.exe, to confirm that both are 64-bit.

I'm dealing with a clean install of Maya and have pointed the P4Python installer from here:
ftp://ftp.perforce.com/perforce/r19.1/bin.ntx64/
at the correct Python directory in the maya installation.

I noticed that the Release Notes include the following fixes which leads me to believe that this should be supported:
#184040 (Bug #98782) * P4Python does not install correctly with Maya 2019 "mayapy" interpreter
I've also tried compiling the P4API locally, but haven't had much success yet.  Also, I have found thirdparty versions of the P4Python binaries, that load correctly, but I believe those are introducing subtler errors down the line.

What am I missing? (Also, happy to provide any additional information.)
Thanks in advance!





Also tagged with one or more of these keywords: P4Python, Maya2019, Windows, x64

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users