Skip to content

Instantly share code, notes, and snippets.

@Strazzom
Created July 4, 2018 07:24
Show Gist options
  • Save Strazzom/c9b1859afd6e478b505e8310f88d8ae7 to your computer and use it in GitHub Desktop.
Save Strazzom/c9b1859afd6e478b505e8310f88d8ae7 to your computer and use it in GitHub Desktop.
user@pupy-testbded:~/pupy/pupy$ pip install -r requirements.txt
Obtaining file:///home/user/pupy/pupy/external/pykcp (from -r requirements.txt (line 35))
Collecting rpyc==3.4.4 (from -r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/77/cc/f948fdfb1ec2a04b349ac0d8ef08d944c6addb7b1abf6f2f9866eb34c1df/rpyc-3.4.4-py2-none-any.whl
Collecting pycryptodome (from -r requirements.txt (line 2))
Using cached https://files.pythonhosted.org/packages/85/f9/006a05b471e393a771d2f438eb72f574f65300ed60b35611932e56075b37/pycryptodome-3.6.3-cp27-cp27mu-manylinux1_x86_64.whl
Collecting pefile (from -r requirements.txt (line 3))
Collecting pyyaml (from -r requirements.txt (line 4))
Collecting rsa (from -r requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages/e1/ae/baedc9cb175552e95f3395c43055a6a5e125ae4d48a1d7a924baca83e92e/rsa-3.4.2-py2.py3-none-any.whl
Collecting netaddr (from -r requirements.txt (line 6))
Using cached https://files.pythonhosted.org/packages/ba/97/ce14451a9fd7bdb5a397abf99b24a1a6bb7a1a440b019bebd2e9a0dbec74/netaddr-0.7.19-py2.py3-none-any.whl
Collecting ecdsa==0.13 (from -r requirements.txt (line 7))
Using cached https://files.pythonhosted.org/packages/63/f4/73669d51825516ce8c43b816c0a6b64cd6eb71d08b99820c00792cb42222/ecdsa-0.13-py2.py3-none-any.whl
Collecting paramiko==2.0.2 (from -r requirements.txt (line 8))
Using cached https://files.pythonhosted.org/packages/d0/17/089b126c782b51f9e65c0ce1111f6ccf5ea5bf1e2dad03f3de2039003652/paramiko-2.0.2-py2.py3-none-any.whl
Collecting tinyec (from -r requirements.txt (line 9))
Collecting psutil (from -r requirements.txt (line 10))
Collecting netifaces (from -r requirements.txt (line 11))
Using cached https://files.pythonhosted.org/packages/70/dd/411bb4cda549136cf9ff5dbd4f33f898fd90b25ac73fd4ea42a3d3e8fd15/netifaces-0.10.7-cp27-cp27mu-manylinux1_x86_64.whl
Collecting pylzma (from -r requirements.txt (line 12))
Collecting colorama (from -r requirements.txt (line 13))
Using cached https://files.pythonhosted.org/packages/db/c8/7dcf9dbcb22429512708fe3a547f8b6101c0d02137acbd892505aee57adf/colorama-0.3.9-py2.py3-none-any.whl
Collecting mss (from -r requirements.txt (line 14))
Collecting pyOpenSSL (from -r requirements.txt (line 15))
Using cached https://files.pythonhosted.org/packages/96/af/9d29e6bd40823061aea2e0574ccb2fcf72bfd6130ce53d32773ec375458c/pyOpenSSL-18.0.0-py2.py3-none-any.whl
Collecting scapy (from -r requirements.txt (line 16))
Collecting impacket (from -r requirements.txt (line 17))
Collecting pyuv (from -r requirements.txt (line 18))
Using cached https://files.pythonhosted.org/packages/7c/a5/a342f9d4f941d54ca77fb8735522ed3b5d1f97693eeccde763b8d334d507/pyuv-1.4.0-cp27-cp27mu-manylinux1_x86_64.whl
Collecting dnslib (from -r requirements.txt (line 19))
Collecting http-parser (from -r requirements.txt (line 20))
Collecting cerberus (from -r requirements.txt (line 21))
Collecting logutils (from -r requirements.txt (line 22))
Collecting secretstorage (from -r requirements.txt (line 23))
Collecting pygments (from -r requirements.txt (line 24))
Using cached https://files.pythonhosted.org/packages/02/ee/b6e02dc6529e82b75bb06823ff7d005b141037cb1416b10c6f00fc419dca/Pygments-2.2.0-py2.py3-none-any.whl
Collecting requests (from -r requirements.txt (line 25))
Using cached https://files.pythonhosted.org/packages/65/47/7e02164a2a3db50ed6d8a6ab1d6d60b69c4c3fdf57a284257925dfc12bda/requests-2.19.1-py2.py3-none-any.whl
Collecting tornado (from -r requirements.txt (line 26))
Collecting keyboard (from -r requirements.txt (line 27))
Using cached https://files.pythonhosted.org/packages/4f/e0/3addb693f9387268044c5268880777cad3cc2ac457789884cca8381b2f7a/keyboard-0.13.2-py2.py3-none-any.whl
Collecting poster (from -r requirements.txt (line 28))
Collecting win_inet_pton (from -r requirements.txt (line 29))
Collecting scandir (from -r requirements.txt (line 30))
Collecting msgpack (from -r requirements.txt (line 31))
Using cached https://files.pythonhosted.org/packages/ff/0d/536fd0b2808dfbc67de46168dc706b5c9f9a1f5a803d96b8bc562a6d96c2/msgpack-0.5.6-cp27-cp27mu-manylinux1_x86_64.whl
Collecting hexdump (from -r requirements.txt (line 32))
Collecting M2Crypto (from -r requirements.txt (line 33))
Using cached https://files.pythonhosted.org/packages/41/50/7d85dc99b1c4f29eca83873d851ec29a8e484a66b31351e62e30be9db7d1/M2Crypto-0.30.1.tar.gz
Collecting fusepy (from -r requirements.txt (line 34))
Collecting plumbum (from rpyc==3.4.4->-r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/b2/05/7720109462d0bd60466e74076a38ca12068771da146bfd18a502726c9da8/plumbum-1.6.6-py2.py3-none-any.whl
Collecting future (from pefile->-r requirements.txt (line 3))
Collecting pyasn1>=0.1.3 (from rsa->-r requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages/a0/70/2c27740f08e477499ce19eefe05dbcae6f19fdc49e9e82ce4768be0643b9/pyasn1-0.4.3-py2.py3-none-any.whl
Collecting cryptography>=1.1 (from paramiko==2.0.2->-r requirements.txt (line 8))
Using cached https://files.pythonhosted.org/packages/dd/c2/3a5bfefb25690725824ade71e6b65449f0a9f4b29702cce10560f786ebf6/cryptography-2.2.2-cp27-cp27mu-manylinux1_x86_64.whl
Collecting six>=1.5.2 (from pyOpenSSL->-r requirements.txt (line 15))
Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Collecting ldap3>=2.5.0 (from impacket->-r requirements.txt (line 17))
Using cached https://files.pythonhosted.org/packages/f6/d9/a9db559375543af5ff950198a433bbc34bf7e8afbd32ab22231d0959710a/ldap3-2.5-py2.py3-none-any.whl
Collecting pycrypto>=2.6.1 (from impacket->-r requirements.txt (line 17))
Collecting flask (from impacket->-r requirements.txt (line 17))
Using cached https://files.pythonhosted.org/packages/7f/e7/08578774ed4536d3242b14dacb4696386634607af824ea997202cd0edb4b/Flask-1.0.2-py2.py3-none-any.whl
Collecting ldapdomaindump (from impacket->-r requirements.txt (line 17))
Using cached https://files.pythonhosted.org/packages/a4/05/91aef1d6e57c2d2ad7a6057aaf730f9f3addbfbf1bafc954bbcdcff37081/ldapdomaindump-0.8.6-py2-none-any.whl
Collecting idna<2.8,>=2.5 (from requests->-r requirements.txt (line 25))
Using cached https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl
Collecting urllib3<1.24,>=1.21.1 (from requests->-r requirements.txt (line 25))
Using cached https://files.pythonhosted.org/packages/bd/c9/6fdd990019071a4a32a5e7cb78a1d92c53851ef4f56f62a3486e6a7d8ffb/urllib3-1.23-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests->-r requirements.txt (line 25))
Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests->-r requirements.txt (line 25))
Using cached https://files.pythonhosted.org/packages/7c/e6/92ad559b7192d846975fc916b65f667c7b8c3a32bea7372340bfe9a15fa5/certifi-2018.4.16-py2.py3-none-any.whl
Collecting singledispatch (from tornado->-r requirements.txt (line 26))
Using cached https://files.pythonhosted.org/packages/c5/10/369f50bcd4621b263927b0a1519987a04383d4a98fb10438042ad410cf88/singledispatch-3.4.0.3-py2.py3-none-any.whl
Collecting futures (from tornado->-r requirements.txt (line 26))
Using cached https://files.pythonhosted.org/packages/2d/99/b2c4e9d5a30f6471e410a146232b4118e697fa3ffc06d6a65efde84debd0/futures-3.2.0-py2-none-any.whl
Collecting backports-abc>=0.4 (from tornado->-r requirements.txt (line 26))
Using cached https://files.pythonhosted.org/packages/7d/56/6f3ac1b816d0cd8994e83d0c4e55bc64567532f7dc543378bd87f81cebc7/backports_abc-0.5-py2.py3-none-any.whl
Collecting typing (from M2Crypto->-r requirements.txt (line 33))
Using cached https://files.pythonhosted.org/packages/0d/4d/4e5985d075d241d686a1663fa1f88b61d544658d08c1375c7c6aac32afc3/typing-3.6.4-py2-none-any.whl
Collecting cffi>=1.7; platform_python_implementation != "PyPy" (from cryptography>=1.1->paramiko==2.0.2->-r requirements.txt (line 8))
Using cached https://files.pythonhosted.org/packages/14/dd/3e7a1e1280e7d767bd3fa15791759c91ec19058ebe31217fe66f3e9a8c49/cffi-1.11.5-cp27-cp27mu-manylinux1_x86_64.whl
Collecting enum34; python_version < "3" (from cryptography>=1.1->paramiko==2.0.2->-r requirements.txt (line 8))
Using cached https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
Collecting asn1crypto>=0.21.0 (from cryptography>=1.1->paramiko==2.0.2->-r requirements.txt (line 8))
Using cached https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl
Collecting ipaddress; python_version < "3" (from cryptography>=1.1->paramiko==2.0.2->-r requirements.txt (line 8))
Using cached https://files.pythonhosted.org/packages/fc/d0/7fc3a811e011d4b388be48a0e381db8d990042df54aa4ef4599a31d39853/ipaddress-1.0.22-py2.py3-none-any.whl
Collecting click>=5.1 (from flask->impacket->-r requirements.txt (line 17))
Using cached https://files.pythonhosted.org/packages/34/c1/8806f99713ddb993c5366c362b2f908f18269f8d792aff1abfd700775a77/click-6.7-py2.py3-none-any.whl
Collecting Werkzeug>=0.14 (from flask->impacket->-r requirements.txt (line 17))
Using cached https://files.pythonhosted.org/packages/20/c4/12e3e56473e52375aa29c4764e70d1b8f3efa6682bef8d0aae04fe335243/Werkzeug-0.14.1-py2.py3-none-any.whl
Collecting itsdangerous>=0.24 (from flask->impacket->-r requirements.txt (line 17))
Collecting Jinja2>=2.10 (from flask->impacket->-r requirements.txt (line 17))
Using cached https://files.pythonhosted.org/packages/7f/ff/ae64bacdfc95f27a016a7bed8e8686763ba4d277a78ca76f32659220a731/Jinja2-2.10-py2.py3-none-any.whl
Collecting dnspython (from ldapdomaindump->impacket->-r requirements.txt (line 17))
Using cached https://files.pythonhosted.org/packages/a6/72/209e18bdfedfd78c6994e9ec96981624a5ad7738524dd474237268422cb8/dnspython-1.15.0-py2.py3-none-any.whl
Collecting pycparser (from cffi>=1.7; platform_python_implementation != "PyPy"->cryptography>=1.1->paramiko==2.0.2->-r requirements.txt (line 8))
Collecting MarkupSafe>=0.23 (from Jinja2>=2.10->flask->impacket->-r requirements.txt (line 17))
Building wheels for collected packages: M2Crypto
Running setup.py bdist_wheel for M2Crypto ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-bOYPEi/M2Crypto/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpNO6yrDpip-wheel- --python-tag cp27:
running bdist_wheel
running build
running build_py
copying M2Crypto/util.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/threading.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/six.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/m2xmlrpclib.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/m2urllib2.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/m2urllib.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/m2crypto.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/m2.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/httpslib.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/ftpslib.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/callback.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/__init__.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/X509.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/SMIME.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/Rand.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/RSA.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/RC4.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/Err.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/Engine.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/EVP.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/EC.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/DSA.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/DH.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/BN.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/BIO.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/AuthCookie.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/ASN1.py -> build/lib.linux-x86_64-2.7/M2Crypto
creating build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/timeout.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/ssl_dispatcher.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/cb.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/__init__.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/TwistedProtocolWrapper.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/Session.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/SSLServer.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/Context.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/Connection.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/Cipher.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/Checker.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
running build_ext
building 'M2Crypto._m2crypto' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/SWIG
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -I/tmp/pip-build-bOYPEi/M2Crypto/SWIG -c SWIG/_m2crypto_wrap.c -o build/temp.linux-x86_64-2.7/SWIG/_m2crypto_wrap.o -Wno-deprecated-declarations -DTHREADING
SWIG/_m2crypto_wrap.c:3557:25: fatal error: openssl/err.h: No such file or directory
#include <openssl/err.h>
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Failed building wheel for M2Crypto
Running setup.py clean for M2Crypto
Failed to build M2Crypto
Installing collected packages: plumbum, rpyc, pycryptodome, future, pefile, pyyaml, pyasn1, rsa, netaddr, ecdsa, six, pycparser, cffi, enum34, idna, asn1crypto, ipaddress, cryptography, paramiko, tinyec, psutil, netifaces, pylzma, colorama, mss, pyOpenSSL, scapy, ldap3, pycrypto, click, Werkzeug, itsdangerous, MarkupSafe, Jinja2, flask, dnspython, ldapdomaindump, impacket, pyuv, dnslib, http-parser, cerberus, logutils, secretstorage, pygments, urllib3, chardet, certifi, requests, singledispatch, futures, backports-abc, tornado, keyboard, poster, win-inet-pton, scandir, msgpack, hexdump, typing, M2Crypto, fusepy, KCP
Running setup.py install for M2Crypto ... error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment