Skip to content

Installation on a Linux environment gives "No module named _md5" #238

Closed

Description

@tarand

. As we do not have pip nor easy_install on our linux servers, I have to use the python-method. When issuing the installation command, I get

[root@clab347node04 robotframework-selenium2library-master]# /opt/robot/bin/python setup.py install
Traceback (most recent call last):
File "setup.py", line 7, in
from ez_setup import use_setuptools
File "src/ez_setup.py", line 67, in
except ImportError: from md5 import md5
File "/opt/robot/python-2.5.5/lib/python2.5/md5.py", line 6, in
from hashlib import md5
File "/opt/robot/python-2.5.5/lib/python2.5/hashlib.py", line 133, in
md5 = __get_builtin_constructor('md5')
File "/opt/robot/python-2.5.5/lib/python2.5/hashlib.py", line 60, in __get_builtin_constructor
import _md5
ImportError: No module named _md5

What goes wrong?

Thanks!

Activity

  1. HelioGuilherme66 commented on Oct 14, 2013

    @HelioGuilherme66
    Member

    Not sure if is this, but you called python using absolute path:
    /opt/robot/bin/python setup.py install
    (python should be found from $PATH)
    And then we can see:
    /opt/robot/python-2.5.5/lib/python2.5

    I think that is a very old python version. It should be 2.7.2 (or so).

    Before installing robotframework-selenium2library is your robotframework install working?

  2. ombre42 commented on Oct 14, 2013

    @ombre42
    Contributor

    Although Selenium2Library has put some effort into being compatible with Python 2.5, Selenium itself is not. Please use 2.6 or 2.7.
    There are a few posts on StackOverflow about your problem. Your error seems to happen when using a version of Python that was compiled without optional modules that should be provided later.

  3. added
    taskGeneric task not listed in release notes
    help wantedExtra help appreciated
    and removed
    taskGeneric task not listed in release notes
    on Sep 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra help appreciated

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions