Search code examples
pythonxmlrpclib

Cuckoo xmlrpclib missing while uploading file


I recently set up Cuckoo environment on Arch Linux host with WXPSP3 guest.

When I try to upload file for analysis using submit.py I get the following error:

Traceback (most recent call last):
  File "./utils/submit.py", line 23, in <module>
    from lib.cuckoo.common.utils import to_unicode
  File "/opt/cuckoo/utils/../lib/cuckoo/common/utils.py", line 11, in <module>
    import xmlrpclib
ImportError: No module named 'xmlrpclib'

I run out of ideas. Could you help?

J


Solution

  • It works if I run python via python2.7 command so:

    # python2.7 ./utils/submit.py <filepath>