Skip to content

ImportError: No module named 'xmlrpc_daemon' #45

@samir-plusb

Description

@samir-plusb

Hello,

I am trying to install LDTP on Ubuntu 16.04.04 LTS (inside a Docker container).

The following packages were installed:

apt-get install git python3-pip python3-twisted python3-gi python3-gi-cairo gir1.2-gtk-3.0 python3-pyatspi -y

And then I try to install LDTP with the following commands:

mkdir -p /tmp/ldtp
cd /tmp/ldtp
git clone https://github.com/ldtp/ldtp2.git
cd ldtp2
python3 setup.py build
python3 setup.py install

After executing ldtp on the CLI the following error appears and ldtp terminates:

Traceback (most recent call last):
  File "/usr/local/bin/ldtp", line 23, in <module>
    import ldtpd
  File "/usr/local/lib/python3.5/dist-packages/ldtpd/__init__.py", line 38, in <module>
    from xmlrpc_daemon import XMLRPCLdtpd
ImportError: No module named 'xmlrpc_daemon'

I have no experience developing with python but in my understanding, the module xmlrpc_daemon cannot be imported, which is is defined in the LDTP project itself.

Maybe someone in here knows how to fix this? I appreciate any help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions