hey all,
I am trying to get a little bit more serious and would like to get started with accessing p4 from within maya using their API (at secretly attempt to mess up with userSetup.py :scared:).
It all started simple and got obnoxious really quick.
I got myself setup with a workable python 2.5 distrib (in addition to the full 2.6 and 2.7 I had already installed) and dug through perforce ftp to find the proper p4python25.exe file to get the proper python files for maya 2009 internal version of python. Since that thing only allows itself to be installed if it can find a proper full 2.5 distribution installed :sigh:
I was then able to import the p4 module from within maya without error at last.
I got home and replicated the setup hoping I could get some stuff done, but I am now wondering if the maya 2009 64bit (win7 64bits) I have at home isn’t the reason why I now can’t import the p4 module. It gives me this error
from perforce.P4 import P4,P4Exception
# Error: DLL load failed with error code 193
# Traceback (most recent call last):
# File "<maya console>", line 1, in <module>
# File "E:\mayascript\perforce\P4.py", line 210, in <module>
# import P4API
# ImportError: DLL load failed with error code 193 #
The thing was imported without error earlier at work but on Maya 2009 32bits (running with xp64).
I would really like to avoid having to install a 32bits version of 2009 if I can.
any help greatly appreciated :nod: