Sublime Forum

Perforce plugin

#1

Hello,
I’m interested in adding Perforce support to Sublime. There is a perforce Python API found here: perforce.com/perforce/loadsupp.html

After installing the P4Python api, I copied the files created into the python25.zip file and tried 'import P4` in the command line in Sublime and get this error:

Traceback (most recent call last): File "<string>", line 1, in <module> File "<string>", line 27, in load_module File "python25.zip\P4.py", line 209, in <module> ImportError: No module named P4API
Any advice on how to get this to work? I’m not a programmer so I may be going about this all wrong… :smile:
-Andrew

0 Likes

#2

I should have said: I’m not a programmer by profession. I know Python enough to get things done… :smile:

I don’t know the gnarly details with Python, like how to use external Libs when python is running as a dll etc.

Thanks for the setting up the Perforce package, I’m sure that will get me going.

0 Likes