idanr1986 / cuckoodroid-2.0

CuckooDroid - Automated Android Malware Analysis with Cuckoo Sandbox.
101 stars 31 forks source link

Install Error, cryptography #8

Open jingleyang opened 4 years ago

jingleyang commented 4 years ago
ERROR: pyopenssl 19.1.0 has requirement cryptography>=2.8, but you'll have cryptography 1.3.2 which is incompatible.
ERROR: httpreplay 0.1.15 has requirement dpkt==1.8.7, but you'll have dpkt 1.8.6.2 which is incompatible.
Installing collected packages: funcsigs, beaker, SQLAlchemy, MarkupSafe, Mako, python-editor, alembic, beautifulsoup4, pycparser, cffi, chardet, idna, pyasn1, six, enum34, ipaddress, cryptography, Django, dpkt, ecdsa, urllib3, elasticsearch, Werkzeug, Jinja2, itsdangerous, Flask, tlslite-ng, click, HTTPReplay, jsbeautifier, PyOpenSSL, ndg-httpsclient, oletools, requests, pymisp, pymongo, python-magic, wakeonlan, pyparsing, pydot, lxml, colorama, simplegeneric, scandir, pathlib2, pickleshare, backports.shutil-get-terminal-size, ptyprocess, pexpect, ipython-genutils, decorator, traitlets, pygments, wcwidth, prompt-toolkit, ipython, asn1crypto, cycler, numpy, backports.functools-lru-cache, subprocess32, kiwisolver, pytz, python-dateutil, matplotlib, future, networkx, androguard, entropy, libvirt-python, yara-python, apkid, protobuf
    Running setup.py install for cryptography ... error
    ERROR: Command errored out with exit status 1:
     command: /home/ubuntu/code/android/venv2/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-MIZjDc/cryptography/setup.py'"'"'; __file__='"'"'/tmp/pip-install-MIZjDc/cryptography/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-PwkUZ8/install-record.txt --single-version-externally-managed --compile --install-headers /home/ubuntu/code/android/venv2/include/site/python2.7/cryptography
         cwd: /tmp/pip-install-MIZjDc/cryptography/
    Complete output (5003 lines):

Env: Ubuntu 18.04.3 LTS

Cloud anyone help to fix this installation Error? And updating version of cryptography did not work. Thanks