Home Download Buy Blog Forum Support

Perforce plugin

Perforce plugin

Postby agrant3d on Thu Mar 26, 2009 5:45 pm

Hello,
I'm interested in adding Perforce support to Sublime. There is a perforce Python API found here: http://www.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:
Code: Select all
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... :)
-Andrew
agrant3d
 
Posts: 2
Joined: Thu Mar 26, 2009 5:31 pm

Re: Perforce plugin

Postby agrant3d on Fri Mar 27, 2009 4:29 pm

I should have said: I'm not a programmer by profession. I know Python enough to get things done... :)

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.
agrant3d
 
Posts: 2
Joined: Thu Mar 26, 2009 5:31 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 26 guests