Can't find module named 'svn' in python

Nanjundi nanjundi at
Tue Jan 16 02:18:21 CET 2007

My first thought:
Check if you have /usr/local/lib/svn-python/ in your PYTHONPATH
environment variable (echo $PYTHONPATH).

If its missing, set it in the environment.
export PYTHONPATH=$PYTHONPATH:/usr/local/lib/svn-python


yinglcs at wrote:
> Hi,
> i have a simple test which tries to load 'svn' moddule.
> # python -c "from svn import client"
> Traceback (most recent call last):
>  File "<string>", line 1, in ?
> ImportError: No module named svn
> I have checked I have sub-directories 'libsvn', 'svn' under
> /usr/local/lib/svn-python/
>  cd /usr/local/lib/svn-python/
> [root at localhost svn-python]# ls
> libsvn  svn
> But python still can't find it. Please tell me what am I missing. I
> appreciate your help.

More information about the Python-list mailing list