Re: Python 2.4 ERROR: cvs2svn uses the anydbm package Python 2.6 ImportError: No module named _md5
Michael Haggerty <[email protected]>
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.user |
|---|---|
| Message-ID | <[email protected]> |
Richard Murray wrote:
> I can’t get cvs2svn working due to Python errors. I’m running on
> Solaris 10, with version 2.3.0 of cvs2svn. I’ve installed Python,
> anydbm and all other required libraries using packaged binaries.
>
> When I run with Python 2.4.4 I get an error about the anydbm package
> (I’ve installed gdbm but still get the error).
>
> I have seen other posts reporting similar errors with responses that the
> Python environment isn’t setup correctly, but I haven’t seen any
> information on how to correct the issue in Python. I don’t know Python
> at all so any advice or suggestions would be appreciated.
The "gdbm" and "md5" libraries that cvs2svn needs are the *Python
modules*, not just the libraries and/or executables. You probably need
to install something like "python-gdbm" or "python-md5" (though I don't
know the naming scheme used by sunfreeware).
The warning that the md5 library is deprecated should only appear if
there was an error importing the non-deprecated "hashlib". So it would
be preferable for you to install Python's hashlib. When this is set up
correctly, you should be able to type
python -c 'from hashlib import md5'
and not see any error messages.
When you figure this out, it would be great if you would send an email
to the list explaining the procedure so that your successors can benefit
from your work.
Michael
------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=2635171
To unsubscribe from this discussion, e-mail: [[email protected]].