cuckoosandbox / cuckoo

Cuckoo Sandbox is an automated dynamic malware analysis system
http://www.cuckoosandbox.org
Other
5.56k stars 1.7k forks source link

cuckoo installation error #2048

Closed nemahabdullah closed 6 years ago

nemahabdullah commented 6 years ago

hello i followed the instruction on cuckoosandbox site to download the cuckoo but i get the bellow error

image

doomedraven commented 6 years ago

error is incomplete

nemahabdullah commented 6 years ago

Downloading unicorn-1.0.1-py2.py3-none-manylinux1_x86_64.whl (18.2MB) 12% |████ | 2.3MB 5.1kB/s eta 0:52:21Exception: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 353, in run wb.build(autobuilding=True) File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 749, in build self.requirement_set.prepare_files(self.finder) File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 380, in prepare_files ignore_dependencies=self.ignore_dependencies)) File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 620, in _prepare_file session=self.session, hashes=hashes) File "/usr/lib/python2.7/dist-packages/pip/download.py", line 821, in unpack_url hashes=hashes File "/usr/lib/python2.7/dist-packages/pip/download.py", line 659, in unpack_http_url hashes) File "/usr/lib/python2.7/dist-packages/pip/download.py", line 882, in _download_http_url _download_url(resp, link, content_file, hashes) File "/usr/lib/python2.7/dist-packages/pip/download.py", line 603, in _download_url hashes.check_against_chunks(downloaded_chunks) File "/usr/lib/python2.7/dist-packages/pip/utils/hashes.py", line 46, in check_against_chunks for chunk in chunks: File "/usr/lib/python2.7/dist-packages/pip/download.py", line 571, in written_chunks for chunk in chunks: File "/usr/lib/python2.7/dist-packages/pip/utils/ui.py", line 139, in iter for x in it: File "/usr/lib/python2.7/dist-packages/pip/download.py", line 560, in resp_read decode_content=False): File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/response.py", line 432, in stream data = self.read(amt=amt, decode_content=decode_content) File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/response.py", line 397, in read raise IncompleteRead(self._fp_bytes_read, self.length_remaining) File "/usr/lib/python2.7/contextlib.py", line 35, in exit self.gen.throw(type, value, traceback) File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/response.py", line 303, in _error_catcher raise ReadTimeoutError(self._pool, None, 'Read timed out.') ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out.

doomedraven commented 6 years ago

your host has problems with internet, thats all, read the error

nemahabdullah commented 6 years ago

@doomedraven i tried to download it from offline file , i get the below error pip download Cuckoo-2.0.4.4.tar.gz Processing ./Cuckoo-2.0.4.4.tar.gz File was already downloaded /root/Cuckoo-2.0.4.4.tar.gz Exception: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/usr/lib/python2.7/dist-packages/pip/commands/download.py", line 198, in run requirement_set.prepare_files(finder) File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 380, in prepare_files ignore_dependencies=self.ignore_dependencies)) File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 620, in _prepare_file session=self.session, hashes=hashes) File "/usr/lib/python2.7/dist-packages/pip/download.py", line 809, in unpack_url unpack_file_url(link, location, download_dir, hashes=hashes) File "/usr/lib/python2.7/dist-packages/pip/download.py", line 715, in unpack_file_url unpack_file(from_path, location, content_type, link) File "/usr/lib/python2.7/dist-packages/pip/utils/init.py", line 623, in unpack_file untar_file(filename, location) File "/usr/lib/python2.7/dist-packages/pip/utils/init.py", line 556, in untar_file tar = tarfile.open(filename, mode) File "/usr/lib/python2.7/tarfile.py", line 1693, in open return func(name, filemode, fileobj, **kwargs) File "/usr/lib/python2.7/tarfile.py", line 1751, in gzopen raise ReadError("not a gzip file") ReadError: not a gzip file

nemahabdullah commented 6 years ago

i installed the cuckoo version 2.0.4.4.tar.gz from github site

doomedraven commented 6 years ago

first of all that is the old version and you should use pip install cuckoo

nemahabdullah commented 6 years ago

i used the pip install cuckoo but i faced issue with connection , what is the best version to be installed it as offline .

Nwinternights commented 6 years ago

Are You behind a proxy ? If Yes use: Pip --proxy http://[proxy_ip:port] install cuckoo -u

nemahabdullah commented 6 years ago

@doomedraven @Nwinternights

i have 3rd gen firewall . i tried to install the last version 2.0.5 and i get new error as the below ////////////////////////////////////////////////// the error /////////////////////////////////////////////// Collecting cuckoo Using cached Cuckoo-2.0.5.2.tar.gz Requirement already up-to-date: alembic==0.8.8 in /usr/local/lib/python2.7/dist-packages (from cuckoo) Requirement already up-to-date: androguard==3.0.1 in /usr/local/lib/python2.7/dist-packages (from cuckoo) Requirement already up-to-date: beautifulsoup4==4.5.3 in /usr/local/lib/python2.7/dist-packages (from cuckoo) Requirement already up-to-date: chardet==2.3.0 in /usr/local/lib/python2.7/dist-packages (from cuckoo) Requirement already up-to-date: click==6.6 in /usr/local/lib/python2.7/dist-packages (from cuckoo) Requirement already up-to-date: django==1.8.4 in /usr/local/lib/python2.7/dist-packages (from cuckoo) Requirement already up-to-date: django_extensions==1.6.7 in /usr/local/lib/python2.7/dist-packages (from cuckoo) Requirement already up-to-date: dpkt==1.8.7 in /usr/local/lib/python2.7/dist-packages (from cuckoo) Requirement already up-to-date: egghatch==0.2.1 in /usr/local/lib/python2.7/dist-packages (from cuckoo) Requirement already up-to-date: elasticsearch==5.3.0 in /usr/local/lib/python2.7/dist-packages (from cuckoo) Requirement already up-to-date: flask-sqlalchemy==2.1 in /usr/local/lib/python2.7/dist-packages (from cuckoo) Requirement already up-to-date: flask==0.12.2 in /usr/lib/python2.7/dist-packages (from cuckoo) Requirement already up-to-date: httpreplay<0.3,>=0.2.1 in /usr/local/lib/python2.7/dist-packages (from cuckoo) Requirement already up-to-date: jinja2==2.9.6 in /usr/lib/python2.7/dist-packages (from cuckoo) Requirement already up-to-date: jsbeautifier==1.6.2 in /usr/local/lib/python2.7/dist-packages (from cuckoo) Requirement already up-to-date: oletools==0.51 in /usr/local/lib/python2.7/dist-packages (from cuckoo) Requirement already up-to-date: peepdf==0.3.6 in /usr/lib/python2.7/dist-packages (from cuckoo) Requirement already up-to-date: pefile2==1.2.11 in /usr/local/lib/python2.7/dist-packages (from cuckoo) Collecting pillow==3.2 (from cuckoo) Using cached Pillow-3.2.0.zip Collecting pyelftools==0.24 (from cuckoo) Collecting pymisp==2.4.54 (from cuckoo) Collecting pymongo==3.0.3 (from cuckoo) Collecting python-dateutil==2.4.2 (from cuckoo) Using cached python_dateutil-2.4.2-py2.py3-none-any.whl Collecting python-magic==0.4.12 (from cuckoo) Collecting sflock<0.3,>=0.2.15 (from cuckoo) Requirement already up-to-date: sqlalchemy==1.0.8 in /usr/local/lib/python2.7/dist-packages (from cuckoo) Collecting unicorn==1.0.1 (from cuckoo) Using cached unicorn-1.0.1-py2.py3-none-manylinux1_x86_64.whl Collecting wakeonlan==0.2.2 (from cuckoo) Collecting yara-python==3.6.3 (from cuckoo) Collecting requests[security]==2.13.0 (from cuckoo) Using cached requests-2.13.0-py2.py3-none-any.whl Collecting scapy==2.3.2 (from cuckoo) Requirement already up-to-date: Mako in /usr/lib/python2.7/dist-packages (from alembic==0.8.8->cuckoo) Requirement already up-to-date: python-editor>=0.3 in /usr/local/lib/python2.7/dist-packages (from alembic==0.8.8->cuckoo) Requirement already up-to-date: six>=1.2 in /usr/lib/python2.7/dist-packages (from django_extensions==1.6.7->cuckoo) Requirement already up-to-date: capstone==3.0.5rc2; sys_platform == "linux2" in /usr/local/lib/python2.7/dist-packages (from egghatch==0.2.1->cuckoo) Collecting urllib3<2.0,>=1.8 (from elasticsearch==5.3.0->cuckoo) Using cached urllib3-1.22-py2.py3-none-any.whl Requirement already up-to-date: tlslite-ng==0.6.0 in /usr/local/lib/python2.7/dist-packages (from httpreplay<0.3,>=0.2.1->cuckoo) Collecting jsonschema (from pymisp==2.4.54->cuckoo) Using cached jsonschema-2.6.0-py2.py3-none-any.whl Collecting olefile==0.43 (from sflock<0.3,>=0.2.15->cuckoo) Requirement already up-to-date: pycrypto==2.6.1; sys_platform == "linux2" in /usr/lib/python2.7/dist-packages (from sflock<0.3,>=0.2.15->cuckoo) Collecting idna>=2.0.0; extra == "security" (from requests[security]==2.13.0->cuckoo) Using cached idna-2.6-py2.py3-none-any.whl Collecting cryptography>=1.3.4; extra == "security" (from requests[security]==2.13.0->cuckoo) Using cached cryptography-2.1.4-cp27-cp27mu-manylinux1_x86_64.whl Collecting pyOpenSSL>=0.14; extra == "security" (from requests[security]==2.13.0->cuckoo) Using cached pyOpenSSL-17.5.0-py2.py3-none-any.whl Requirement already up-to-date: ecdsa in /usr/local/lib/python2.7/dist-packages (from tlslite-ng==0.6.0->httpreplay<0.3,>=0.2.1->cuckoo) Requirement already up-to-date: functools32; python_version == "2.7" in /usr/lib/python2.7/dist-packages (from jsonschema->pymisp==2.4.54->cuckoo) Collecting cffi>=1.7; platform_python_implementation != "PyPy" (from cryptography>=1.3.4; extra == "security"->requests[security]==2.13.0->cuckoo) Using cached cffi-1.11.4-cp27-cp27mu-manylinux1_x86_64.whl Requirement already up-to-date: enum34; python_version < "3" in /usr/lib/python2.7/dist-packages (from cryptography>=1.3.4; extra == "security"->requests[security]==2.13.0->cuckoo) Collecting asn1crypto>=0.21.0 (from cryptography>=1.3.4; extra == "security"->requests[security]==2.13.0->cuckoo) Using cached asn1crypto-0.24.0-py2.py3-none-any.whl Collecting ipaddress; python_version < "3" (from cryptography>=1.3.4; extra == "security"->requests[security]==2.13.0->cuckoo) Using cached ipaddress-1.0.19.tar.gz Collecting pycparser (from cffi>=1.7; platform_python_implementation != "PyPy"->cryptography>=1.3.4; extra == "security"->requests[security]==2.13.0->cuckoo) Using cached pycparser-2.18.tar.gz Building wheels for collected packages: cuckoo, pillow, ipaddress, pycparser Running setup.py bdist_wheel for cuckoo ... done Stored in directory: /root/.cache/pip/wheels/ad/30/0f/16536de7c53917d6dafdc3b40dc887553cdb020df70a590515 Running setup.py bdist_wheel for pillow ... error Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-AGfSGY/pillow/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/tmpl1wJrgpip-wheel- --python-tag cp27: running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/PIL copying PIL/XbmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PalmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/GribStubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/GimpGradientFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImtImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/MicImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageDraw2.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/WmfImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/FliImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PcdImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/TgaImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PpmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PixarImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PdfImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/FontFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/FitsStubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/XpmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageTransform.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PyAccess.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/SunImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/DcxImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/WebPImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageCms.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageDraw.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/MpegImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImagePalette.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/_util.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/JpegImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/TiffImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageWin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PcxImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/_binary.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PSDraw.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/McIdasImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageMorph.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/GdImageFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/CurImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/SpiderImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageMode.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/Jpeg2KImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/MspImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/BmpImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ExifTags.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageMath.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/BdfFontFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/OleFileIO.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/JpegPresets.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/IcoImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/FpxImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/GimpPaletteFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageSequence.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/IptcImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/GifImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageFilter.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/EpsImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageTk.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PsdImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/BufrStubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageColor.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageShow.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/Hdf5StubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/SgiImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/MpoImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PcfFontFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageChops.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/GbrImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageOps.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PaletteFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/TarIO.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/features.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImagePath.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageQt.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageStat.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/XVThumbImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/FtexImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/IcnsImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageEnhance.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ContainerIO.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/DdsImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/Image.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/WalImageFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/TiffTags.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/init.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageFont.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PngImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageGrab.py -> build/lib.linux-x86_64-2.7/PIL running egg_info writing Pillow.egg-info/PKG-INFO writing top-level names to Pillow.egg-info/top_level.txt writing dependency_links to Pillow.egg-info/dependency_links.txt reading manifest file 'Pillow.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '.sh' no previously-included directories found matching 'docs/_static' warning: no previously-included files found matching '.coveragerc' warning: no previously-included files found matching '.editorconfig' warning: no previously-included files found matching '.landscape.yaml' warning: no previously-included files found matching 'appveyor.yml' warning: no previously-included files found matching 'build_children.sh' warning: no previously-included files found matching 'tox.ini' warning: no previously-included files matching '.git' found anywhere in distribution warning: no previously-included files matching '.pyc' found anywhere in distribution warning: no previously-included files matching '.so' found anywhere in distribution writing manifest file 'Pillow.egg-info/SOURCES.txt' copying PIL/OleFileIO-README.md -> build/lib.linux-x86_64-2.7/PIL running build_ext Traceback (most recent call last): File "", line 1, in File "/tmp/pip-build-AGfSGY/pillow/setup.py", line 767, in zip_safe=not debug_build(), ) File "/usr/lib/python2.7/dist-packages/setuptools/init.py", line 129, in setup return distutils.core.setup(**attrs) File "/usr/lib/python2.7/distutils/core.py", line 151, in setup dist.run_commands() File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/dist-packages/wheel/bdist_wheel.py", line 179, in run self.run_command('build') File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run self.run_command(cmd_name) File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/distutils/command/build_ext.py", line 340, in run self.build_extensions() File "/tmp/pip-build-AGfSGY/pillow/setup.py", line 512, in build_extensions ' using --disable-%s, aborting' % (f, f)) ValueError: jpeg is required unless explicitly disabled using --disable-jpeg, aborting


Failed building wheel for pillow Running setup.py clean for pillow Running setup.py bdist_wheel for ipaddress ... done Stored in directory: /root/.cache/pip/wheels/d7/6b/69/666188e8101897abb2e115d408d139a372bdf6bfa7abb5aef5 Running setup.py bdist_wheel for pycparser ... done Stored in directory: /root/.cache/pip/wheels/95/14/9a/5e7b9024459d2a6600aaa64e0ba485325aff7a9ac7489db1b6 Successfully built cuckoo ipaddress pycparser Failed to build pillow Installing collected packages: pillow, pyelftools, python-dateutil, jsonschema, idna, pycparser, cffi, asn1crypto, ipaddress, cryptography, pyOpenSSL, requests, pymisp, pymongo, python-magic, olefile, sflock, unicorn, wakeonlan, yara-python, scapy, cuckoo, urllib3 Found existing installation: Pillow 4.3.0 Not uninstalling pillow at /usr/lib/python2.7/dist-packages, outside environment /usr Running setup.py install for pillow ... error Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-AGfSGY/pillow/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-hCkbcI-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/PIL copying PIL/XbmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PalmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/GribStubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/GimpGradientFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImtImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/MicImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageDraw2.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/WmfImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/FliImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PcdImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/TgaImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PpmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PixarImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PdfImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/FontFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/FitsStubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/XpmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageTransform.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PyAccess.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/SunImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/DcxImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/WebPImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageCms.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageDraw.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/MpegImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImagePalette.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/_util.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/JpegImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/TiffImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageWin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PcxImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/_binary.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PSDraw.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/McIdasImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageMorph.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/GdImageFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/CurImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/SpiderImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageMode.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/Jpeg2KImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/MspImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/BmpImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ExifTags.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageMath.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/BdfFontFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/OleFileIO.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/JpegPresets.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/IcoImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/FpxImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/GimpPaletteFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageSequence.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/IptcImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/GifImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageFilter.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/EpsImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageTk.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PsdImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/BufrStubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageColor.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageShow.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/Hdf5StubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/SgiImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/MpoImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PcfFontFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageChops.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/GbrImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageOps.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PaletteFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/TarIO.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/features.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImagePath.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageQt.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageStat.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/XVThumbImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/FtexImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/IcnsImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageEnhance.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ContainerIO.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/DdsImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/Image.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/WalImageFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/TiffTags.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/init.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageFont.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PngImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageGrab.py -> build/lib.linux-x86_64-2.7/PIL running egg_info writing Pillow.egg-info/PKG-INFO writing top-level names to Pillow.egg-info/top_level.txt writing dependency_links to Pillow.egg-info/dependency_links.txt reading manifest file 'Pillow.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '.sh' no previously-included directories found matching 'docs/_static' warning: no previously-included files found matching '.coveragerc' warning: no previously-included files found matching '.editorconfig' warning: no previously-included files found matching '.landscape.yaml' warning: no previously-included files found matching 'appveyor.yml' warning: no previously-included files found matching 'build_children.sh' warning: no previously-included files found matching 'tox.ini' warning: no previously-included files matching '.git' found anywhere in distribution warning: no previously-included files matching '.pyc' found anywhere in distribution warning: no previously-included files matching '.so' found anywhere in distribution writing manifest file 'Pillow.egg-info/SOURCES.txt' copying PIL/OleFileIO-README.md -> build/lib.linux-x86_64-2.7/PIL running build_ext Traceback (most recent call last): File "", line 1, in File "/tmp/pip-build-AGfSGY/pillow/setup.py", line 767, in zip_safe=not debug_build(), ) File "/usr/lib/python2.7/dist-packages/setuptools/init.py", line 129, in setup return distutils.core.setup(**attrs) File "/usr/lib/python2.7/distutils/core.py", line 151, in setup dist.run_commands() File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/dist-packages/setuptools/command/install.py", line 61, in run return orig.install.run(self) File "/usr/lib/python2.7/distutils/command/install.py", line 601, in run self.run_command('build') File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run self.run_command(cmd_name) File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/distutils/command/build_ext.py", line 340, in run self.build_extensions() File "/tmp/pip-build-AGfSGY/pillow/setup.py", line 512, in build_extensions ' using --disable-%s, aborting' % (f, f)) ValueError: jpeg is required unless explicitly disabled using --disable-jpeg, aborting

----------------------------------------

Can't rollback pillow, nothing uninstalled. Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-AGfSGY/pillow/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-hCkbcI-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-AGfSGY/pillow/

doomedraven commented 6 years ago

google for ValueError: jpeg is required unless explicitly disabled using --disable-jpeg, aborting in google and you will get solution ;)

nemahabdullah commented 6 years ago

@doomedraven i googled the error and i did the following instruction

sudo apt-get install libjpeg-dev

rm -rf ~/.cache/pip pip uninstall pillow pip install pillow pip install git+https://github.com/tflearn/tflearn.git

and after execute these instructions , i installed the cuckoo again but i get the same error

doomedraven commented 6 years ago

idk, it worked for me with only sudo apt-get install libjpeg-devfor ubuntu

nemahabdullah commented 6 years ago

i have kali

doomedraven commented 6 years ago

well than maybe someone will can help you, google is your friend ;) only ubuntu 16.04.x(lts) is recommended os for cuckoo

nemahabdullah commented 6 years ago

ok , thank you