Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

PIP incompatibility? #43

@sbazzell

Description

@sbazzell

I've got all containers but the main cuckoo instance up and running. I'm using xenserver. I've already configured cuckoo.conf and xenserver.conf and copied them into the cuckoo container.
On startup, Cuckoo gives me:

2020-05-11 20:51:32,331 [cuckoo.core.resultserver] DEBUG: ResultServer running on 0.0.0.0:2042.
2020-05-11 20:51:32,334 [cuckoo.core.scheduler] INFO: Using "xenserver" as machine manager
2020-05-11 20:51:33,704 [cuckoo.core.scheduler] INFO: Loaded 1 machine/s
2020-05-11 20:51:33,727 [cuckoo.core.scheduler] INFO: Waiting for analysis tasks.
Traceback (most recent call last):
  File "/usr/bin/cuckoo", line 11, in <module>
    load_entry_point('Cuckoo==2.0.5.3', 'console_scripts', 'cuckoo')()
  File "/usr/lib/python2.7/site-packages/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 696, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 1037, in invoke
    return Command.invoke(self, ctx)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 534, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/cuckoo/main.py", line 240, in main
    sys.stderr.write(exception_message())
  File "/usr/lib/python2.7/site-packages/cuckoo/common/utils.py", line 260, in exception_message
    for package in pip.get_installed_distributions()
AttributeError: 'module' object has no attribute 'get_installed_distributions'

A quick search tells me it is a compatibility issue with pip 10 and I should downgrade to pip 9.0.3. Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions