Subversion python bindings could not be loaded

Viewed 6637

This is a but of a part 2 in trying to convert an SVN repository to a Mercurial one

command is:

hg convert file://c:/svnrepository

but, the output I get is:

assuming destination svnrepository-hg
initializing destination svnrepository-hg repository
file://c:/svnrepository does not look like a CVS checkout
file://c:/svnrepository does not look like a Git repo
Subversion python bindings could not be loaded
file://c:/svnrepository is not a local Mercurial repo
file://c:/svnrepository does not look like a darcs repo
file://c:/svnrepository does not look like a monotone repo
file://c:/svnrepository does not look like a GNU Arch repo
file://c:/svnrepository does not look like a Bazaar repo
file://c:/svnrepository does not look like a P4 repo
abort: file://c:/svnrepository: missing or unsupported repository

The line I'm interested in is:

Subversion python bindings could not be loaded

I have installed python 2.5, and I have installed the python subversion bindings from the subversion website. But still getting this error

3 Answers
sudo apt-get install python-subversion

did the trick for me on Ubuntu.

Related