[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Python binding

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-06-01 16:22:04 CEST

On Jun 1, 2005, at 3:59 AM, michal wrote:

> Hello,
> I was compiled Subversion under FreeBSD several days ago. Now, I
> would like to try Python API bindings. But if I type in Python
> iterpreter:
>
> import svn
>
> I get this error message: ImportError: No module named svn

 From subversion/bindings/swig/INSTALL:

       3. Make sure that whatever directory the bindings got
installed in
        is in your PYTHONPATH. That directory depends on how you
        installed; a typical location is /usr/local/lib/svn-python/.

        An nice way to do this is:
        $ echo /usr/local/lib/svn-python \
> /usr/lib/python2.x/site-packages/subversion.pth

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 1 16:26:00 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.