ImportError: No module named _md5

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
St0ne
Newbie
Newbie
Posts: 1
Joined: August 5th, 2009, 8:37 pm

ImportError: No module named _md5

Post by St0ne »

Hi,

Can anyone help out with this error:

Traceback (most recent call last):
  File "SABnzbd.py", line 42, in
    import cherrypy
  File "/var/www/html/nzb/cherrypy/__init__.py", line 10, in
    import config
  File "/var/www/html/nzb/cherrypy/config.py", line 8, in
    from cherrypy.lib import autoreload, cptools, httptools
  File "/var/www/html/nzb/cherrypy/lib/cptools.py", line 3, in
    import md5
  File "/usr/local/lib/python2.5/md5.py", line 6, in
    from hashlib import md5
  File "/usr/local/lib/python2.5/hashlib.py", line 133, in
    md5 = __get_builtin_constructor('md5')
  File "/usr/local/lib/python2.5/hashlib.py", line 60, in __get_builtin_constructor
    import _md5
ImportError: No module named _md5

I get it when running:

python -OO SABnzbd.py -v

I am running on:

Linux webserver 2.6.18-128.2.1.el5 #1 SMP Tue Jul 14 06:36:37 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

Python Version:

Python 2.5.2

Any advice would be great.

Thanks,
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: ImportError: No module named _md5

Post by switch »

Your python install is not complete, I would try recompiling python (do not upgrade to python 2.6 as it is not supported).
Post Reply