Pirate-Crew / IPTV

Search and perform brute force attacks on illegal IPTV Servers
MIT License
378 stars 232 forks source link

GCC failed with exit status 1 #25

Closed Kingem39p closed 8 years ago

Kingem39p commented 8 years ago

salve! ho appena scaricato IPTV-master, però quando vado ad eseguire il comando pip install -r requirements.txt

di seguito, il log riguardante il problema:

[root@VS18075-80965 iptv]# pip install -r requirements.txt Requirement already satisfied (use --upgrade to upgrade): pyprind==2.9.3 in /usr/lib/python2.7/site-packages (from -r requirements.txt (line 1)) Requirement already satisfied (use --upgrade to upgrade): google==1.7 in /usr/lib/python2.7/site-packages (from -r requirements.txt (line 2)) Collecting psutil==3.3.0 (from -r requirements.txt (line 3)) Using cached psutil-3.3.0.tar.gz Collecting clint==0.5.1 (from -r requirements.txt (line 4)) Using cached clint-0.5.1.tar.gz Collecting colored==1.2.1 (from -r requirements.txt (line 5)) Using cached colored-1.2.1.tar.gz Collecting tqdm==3.4.0 (from -r requirements.txt (line 6)) Using cached tqdm-3.4.0-py2.py3-none-any.whl Requirement already satisfied (use --upgrade to upgrade): beautifulsoup4 in /usr/lib/python2.7/site-packages (from google==1.7->-r requirements.txt (line 2)) Collecting args (from clint==0.5.1->-r requirements.txt (line 4)) Using cached args-0.1.0.tar.gz Installing collected packages: psutil, args, clint, colored, tqdm Running setup.py install for psutil Complete output from command /usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip-build-klNkwR/psutil/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-DAy8Sv-record/install-record.txt --single-version-externally-managed --compile: running install running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/psutil copying psutil/_pssunos.py -> build/lib.linux-x86_64-2.7/psutil copying psutil/_psposix.py -> build/lib.linux-x86_64-2.7/psutil copying psutil/_psbsd.py -> build/lib.linux-x86_64-2.7/psutil copying psutil/_common.py -> build/lib.linux-x86_64-2.7/psutil copying psutil/init.py -> build/lib.linux-x86_64-2.7/psutil copying psutil/_compat.py -> build/lib.linux-x86_64-2.7/psutil copying psutil/_pslinux.py -> build/lib.linux-x86_64-2.7/psutil copying psutil/_psosx.py -> build/lib.linux-x86_64-2.7/psutil copying psutil/_pswindows.py -> build/lib.linux-x86_64-2.7/psutil running build_ext building 'psutil._psutil_linux' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/psutil gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPSUTIL_VERSION=330 -I/usr/include/python2.7 -c psutil/_psutil_linux.c -o build/temp.linux-x86_64-2.7/psutil/_psutil_linux.o psutil/_psutil_linux.c:12:20: fatal error: Python.h: No such file or directory

include

                    ^
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------

Command "/usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip-build-klNkwR/psutil/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-DAy8Sv-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-klNkwR/psutil

Come posso fare? grazie mille!

Kingem39p commented 8 years ago

l'errore blocca tutto il processo: la colpa è di psuilt. è lui che da questo errore.

come potrei risolvere?

Kingem39p commented 8 years ago

un piccolo aggiornamento: passando avanti a psuilt ed installando manualmente tutti i requirements, funziona, tranne per il fatto che facendo il brute force ad un server accade questo:

Please select an option: 4 Fetching account from http://server this might take a while. Ops something went wrong!

ci sta un millisecondo e mi da errore. ovviamente nella cartella output non c'è nulla.

ogni aiuto è accettato! grazie

Kingem39p commented 8 years ago

ho risolto il problema scaricando python devel (yum install python-devel), ed eseguendo di nuovo il file requirements.txt con pip.