Can't find module named 'svn' in python
nanjundi at gmail.com
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.
yinglcs at gmail.com wrote:
> 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
> 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