Python 2.7.15rc1
OpenSSL 1.1.0g
Cuckoo==2.0.6.2
$ cuckoo -d
Traceback (most recent call last):
File "/usr/local/bin/cuckoo", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3105, in <module>
@_call_aside
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3089, in _call_aside
f(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3118, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 580, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 593, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 786, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (cryptography 2.1.4 (/usr/lib/python2.7/dist-packages), Requirement.parse('cryptography>=2.2.1'), set(['pyOpenSSL']))
我无法修复此问题,我在网上找不到任何解决方法,请告诉我如何修复此错误,以便我可以运行 Cuckoo 沙盒。我是 Linux 新手。
答案1
尝试这个:
sudo pip install -U pyopenssl