You are not logged in.

#1 2015-12-22 13:38:59

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,374
Website

fireworks the hard way

sudo apt-get install python-pip
pip install --user asciimatics

then something like

cd
mkdir -p source/python/ && cd source/python/ 
wget https://raw.githubusercontent.com/peterbrittain/asciimatics/master/samples/fireworks.py
python fireworks.py

scrot
fireworks.th.png

Last edited by brontosaurusrex (2015-12-22 14:30:30)

Offline

#2 2015-12-22 14:01:25

pingu
Member
Registered: 2015-09-29
Posts: 128

Re: fireworks the hard way

mkdir -p source/python/ && cd python 

tongue

and those fireworks are awesome big_smile

Czyalnmm.png
(too early though)


edit:
I haven't seen the pip command the first time I read your post.
I prefer running "pip install .... --user" (it actually breaks gentoo if ran as root, and I think it's a saner option for other distros as well if it doesn't need root access. it installs to $HOME/.local/)

Last edited by pingu (2015-12-22 14:22:38)


"Chuck Norris can compile syntax errors."

Offline

#3 2015-12-22 14:26:33

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,374
Website

Re: fireworks the hard way

@pingu, thanks, fixed (both).

You meant

mkdir -p source/python/ && cd source/python/

Last edited by brontosaurusrex (2015-12-22 14:31:13)

Offline

#4 2015-12-23 22:06:58

AL13N
Member
Registered: 2015-10-05
Posts: 148

Re: fireworks the hard way

@brontosaurusrex, @pingu: Thank you. 

After a couple of tweaks I got it working (in BunsenLabs 8.2).

Following the instructions above produced an error:

COMMAND:~/source/python$ python fireworks.py
Traceback (most recent call last):
  File "fireworks.py", line 1, in <module>
    from asciimatics.effects import Stars, Print
  File "/home/user/.local/lib/python2.7/site-packages/asciimatics/effects.py", line 4, in <module>
    from builtins import chr
ImportError: No module named builtins

So I opened effects.py in Geany and changed "builtins" to "__builtin__" in lines 4-6.

Running it again produced another error:

COMMAND:~/source/python$ python fireworks.py
Traceback (most recent call last):
  File "fireworks.py", line 1, in <module>
    from asciimatics.effects import Stars, Print
  File "/home/user/.local/lib/python2.7/site-packages/asciimatics/effects.py", line 7, in <module>
    from future.utils import with_metaclass
ImportError: No module named future.utils

So I ran the following command...

pip install --user future

...and fireworks are lighting up the terminal.

2015_12_23_1450906571_1024x768_scrot.jpg

Offline

#5 2015-12-24 23:02:44

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,777

Re: fireworks the hard way

I got more error messages than Santa has toys.

 
 24 Dec 15 | 19:52:18 ~
    $ get python-pip
alias get = sudo apt-get install --no-install-recommends
[sudo] password for sector11: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  python-colorama python-distlib python-html5lib python-requests python-setuptools python-urllib3
Suggested packages:
  python-genshi python-lxml
Recommended packages:
  python-dev-all python-wheel python-ndg-httpsclient python-openssl python-pyasn1
The following NEW packages will be installed:
  python-colorama python-distlib python-html5lib python-pip python-requests python-setuptools python-urllib3
0 upgraded, 7 newly installed, 0 to remove and 2 not upgraded.
Need to get 833 kB of archives.
After this operation, 3,210 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://ftp.us.debian.org/debian/ jessie/main python-colorama all 0.3.2-1 [20.3 kB]
Get:2 http://ftp.us.debian.org/debian/ jessie/main python-distlib all 0.1.9-1 [113 kB]
Get:3 http://ftp.us.debian.org/debian/ jessie/main python-html5lib all 0.999-3 [84.0 kB]
Get:4 http://ftp.us.debian.org/debian/ jessie/main python-urllib3 all 1.9.1-3 [55.4 kB]
Get:5 http://ftp.us.debian.org/debian/ jessie/main python-requests all 2.4.3-6 [204 kB]
Get:6 http://ftp.us.debian.org/debian/ jessie/main python-setuptools all 5.5.1-1 [242 kB]
Get:7 http://ftp.us.debian.org/debian/ jessie/main python-pip all 1.5.6-5 [114 kB]
Fetched 833 kB in 4s (178 kB/s)     
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Selecting previously unselected package python-colorama.
(Reading database ... 153058 files and directories currently installed.)
Preparing to unpack .../python-colorama_0.3.2-1_all.deb ...
Unpacking python-colorama (0.3.2-1) ...
Selecting previously unselected package python-distlib.
Preparing to unpack .../python-distlib_0.1.9-1_all.deb ...
Unpacking python-distlib (0.1.9-1) ...
Selecting previously unselected package python-html5lib.
Preparing to unpack .../python-html5lib_0.999-3_all.deb ...
Unpacking python-html5lib (0.999-3) ...
Selecting previously unselected package python-urllib3.
Preparing to unpack .../python-urllib3_1.9.1-3_all.deb ...
Unpacking python-urllib3 (1.9.1-3) ...
Selecting previously unselected package python-requests.
Preparing to unpack .../python-requests_2.4.3-6_all.deb ...
Unpacking python-requests (2.4.3-6) ...
Selecting previously unselected package python-setuptools.
Preparing to unpack .../python-setuptools_5.5.1-1_all.deb ...
Unpacking python-setuptools (5.5.1-1) ...
Selecting previously unselected package python-pip.
Preparing to unpack .../python-pip_1.5.6-5_all.deb ...
Unpacking python-pip (1.5.6-5) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up python-colorama (0.3.2-1) ...
Setting up python-distlib (0.1.9-1) ...
Setting up python-html5lib (0.999-3) ...
Setting up python-urllib3 (1.9.1-3) ...
Setting up python-requests (2.4.3-6) ...
Setting up python-setuptools (5.5.1-1) ...
Setting up python-pip (1.5.6-5) ...
 
 24 Dec 15 | 19:52:47 ~
    $ pip install --user asciimatics
Downloading/unpacking asciimatics
  Downloading asciimatics-1.5.0.post1.tar.gz
  Running setup.py (path:/tmp/pip-build-8XcIfE/asciimatics/setup.py) egg_info for package asciimatics
    
Downloading/unpacking pyfiglet>=0.7.2 (from asciimatics)
  Downloading pyfiglet-0.7.4.tar.gz (618kB): 618kB downloaded
  Running setup.py (path:/tmp/pip-build-8XcIfE/pyfiglet/setup.py) egg_info for package pyfiglet
    
Downloading/unpacking Pillow>=2.7.0 (from asciimatics)
  Downloading Pillow-3.0.0.tar.gz (9.6MB): 9.6MB downloaded
  Running setup.py (path:/tmp/pip-build-8XcIfE/Pillow/setup.py) egg_info for package Pillow
    
Downloading/unpacking future (from asciimatics)
  Downloading future-0.15.2.tar.gz (1.6MB): 1.6MB downloaded
  Running setup.py (path:/tmp/pip-build-8XcIfE/future/setup.py) egg_info for package future
    
    warning: no files found matching '*.au' under directory 'tests'
    warning: no files found matching '*.gif' under directory 'tests'
    warning: no files found matching '*.txt' under directory 'tests'
Installing collected packages: asciimatics, pyfiglet, Pillow, future
  Running setup.py install for asciimatics
    
  Running setup.py install for pyfiglet
    
    Installing pyfiglet script to /home/sector11/.local/bin
  Running setup.py install for Pillow
    
    building 'PIL._imaging' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-8XcIfE/Pillow/libImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu -c _imaging.c -o build/temp.linux-x86_64-2.7/_imaging.o
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-8XcIfE/Pillow/libImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu -c path.c -o build/temp.linux-x86_64-2.7/path.o
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-8XcIfE/Pillow/libImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu -c libImaging/Blend.c -o build/temp.linux-x86_64-2.7/libImaging/Blend.o
    In file included from libImaging/Imaging.h:14:0,
                     from libImaging/Blend.c:19:
    libImaging/ImPlatform.h:10:20: fatal error: Python.h: No such file or directory
     #include "Python.h"
                        ^
    path.c:29:20: fatal error: Python.h: No such file or directory
     #include "Python.h"
                        ^
    compilation terminated.
    _imaging.c:76:20: fatal error: Python.h: No such file or directory
     #include "Python.h"
                        ^
    compilation terminated.
    compilation terminated.
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-8XcIfE/Pillow/libImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu -c libImaging/Crop.c -o build/temp.linux-x86_64-2.7/libImaging/Crop.o
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-8XcIfE/Pillow/libImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu -c libImaging/Fill.c -o build/temp.linux-x86_64-2.7/libImaging/Fill.o
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-8XcIfE/Pillow/libImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu -c libImaging/GifEncode.c -o build/temp.linux-x86_64-2.7/libImaging/GifEncode.o
    In file included from libImaging/Imaging.h:14:0,
                     from libImaging/Crop.c:19:
    libImaging/ImPlatform.h:10:20: fatal error: Python.h: No such file or directory
     #include "Python.h"
                        ^
    compilation terminated.
    In file included from libImaging/Imaging.h:14:0,
                     from libImaging/Fill.c:19:
    libImaging/ImPlatform.h:10:20: fatal error: Python.h: No such file or directory
     #include "Python.h"
                        ^
    compilation terminated.
    In file included from libImaging/Imaging.h:14:0,
                     from libImaging/GifEncode.c:20:
    libImaging/ImPlatform.h:10:20: fatal error: Python.h: No such file or directory
     #include "Python.h"
                        ^
    compilation terminated.
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-8XcIfE/Pillow/libImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu -c libImaging/Matrix.c -o build/temp.linux-x86_64-2.7/libImaging/Matrix.o
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-8XcIfE/Pillow/libImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu -c libImaging/PackDecode.c -o build/temp.linux-x86_64-2.7/libImaging/PackDecode.o
    In file included from libImaging/Imaging.h:14:0,
                     from libImaging/Matrix.c:17:
    libImaging/ImPlatform.h:10:20: fatal error: Python.h: No such file or directory
     #include "Python.h"
                        ^
    compilation terminated.
    In file included from libImaging/Imaging.h:14:0,
                     from libImaging/PackDecode.c:17:
    libImaging/ImPlatform.h:10:20: fatal error: Python.h: No such file or directory
     #include "Python.h"
                        ^
    compilation terminated.
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-8XcIfE/Pillow/libImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu -c libImaging/QuantHeap.c -o build/temp.linux-x86_64-2.7/libImaging/QuantHeap.o
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-8XcIfE/Pillow/libImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu -c libImaging/RawDecode.c -o build/temp.linux-x86_64-2.7/libImaging/RawDecode.o
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-8XcIfE/Pillow/libImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu -c libImaging/UnpackYCC.c -o build/temp.linux-x86_64-2.7/libImaging/UnpackYCC.o
    In file included from libImaging/Imaging.h:14:0,
                     from libImaging/RawDecode.c:17:
    libImaging/ImPlatform.h:10:20: fatal error: Python.h: No such file or directory
     #include "Python.h"
                        ^
    compilation terminated.
    In file included from libImaging/Imaging.h:14:0,
                     from libImaging/UnpackYCC.c:17:
    libImaging/ImPlatform.h:10:20: fatal error: Python.h: No such file or directory
     #include "Python.h"
                        ^
    compilation terminated.
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-8XcIfE/Pillow/libImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu -c libImaging/TiffDecode.c -o build/temp.linux-x86_64-2.7/libImaging/TiffDecode.o
    In file included from libImaging/Imaging.h:14:0,
                     from libImaging/TiffDecode.c:13:
    libImaging/ImPlatform.h:10:20: fatal error: Python.h: No such file or directory
     #include "Python.h"
                        ^
    compilation terminated.
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-8XcIfE/Pillow/libImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu -c libImaging/PcdDecode.c -o build/temp.linux-x86_64-2.7/libImaging/PcdDecode.o
    In file included from libImaging/Imaging.h:14:0,
                     from libImaging/PcdDecode.c:23:
    libImaging/ImPlatform.h:10:20: fatal error: Python.h: No such file or directory
     #include "Python.h"
                        ^
    compilation terminated.
    Building using 3 processes
    x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/_imaging.o build/temp.linux-x86_64-2.7/decode.o build/temp.linux-x86_64-2.7/encode.o build/temp.linux-x86_64-2.7/map.o build/temp.linux-x86_64-2.7/display.o build/temp.linux-x86_64-2.7/outline.o build/temp.linux-x86_64-2.7/path.o build/temp.linux-x86_64-2.7/libImaging/Access.o build/temp.linux-x86_64-2.7/libImaging/AlphaComposite.o build/temp.linux-x86_64-2.7/libImaging/Resample.o build/temp.linux-x86_64-2.7/libImaging/Bands.o build/temp.linux-x86_64-2.7/libImaging/BitDecode.o build/temp.linux-x86_64-2.7/libImaging/Blend.o build/temp.linux-x86_64-2.7/libImaging/Chops.o build/temp.linux-x86_64-2.7/libImaging/Convert.o build/temp.linux-x86_64-2.7/libImaging/ConvertYCbCr.o build/temp.linux-x86_64-2.7/libImaging/Copy.o build/temp.linux-x86_64-2.7/libImaging/Crc32.o build/temp.linux-x86_64-2.7/libImaging/Crop.o build/temp.linux-x86_64-2.7/libImaging/Dib.o build/temp.linux-x86_64-2.7/libImaging/Draw.o build/temp.linux-x86_64-2.7/libImaging/Effects.o build/temp.linux-x86_64-2.7/libImaging/EpsEncode.o build/temp.linux-x86_64-2.7/libImaging/File.o build/temp.linux-x86_64-2.7/libImaging/Fill.o build/temp.linux-x86_64-2.7/libImaging/Filter.o build/temp.linux-x86_64-2.7/libImaging/FliDecode.o build/temp.linux-x86_64-2.7/libImaging/Geometry.o build/temp.linux-x86_64-2.7/libImaging/GetBBox.o build/temp.linux-x86_64-2.7/libImaging/GifDecode.o build/temp.linux-x86_64-2.7/libImaging/GifEncode.o build/temp.linux-x86_64-2.7/libImaging/HexDecode.o build/temp.linux-x86_64-2.7/libImaging/Histo.o build/temp.linux-x86_64-2.7/libImaging/JpegDecode.o build/temp.linux-x86_64-2.7/libImaging/JpegEncode.o build/temp.linux-x86_64-2.7/libImaging/LzwDecode.o build/temp.linux-x86_64-2.7/libImaging/Matrix.o build/temp.linux-x86_64-2.7/libImaging/ModeFilter.o build/temp.linux-x86_64-2.7/libImaging/MspDecode.o build/temp.linux-x86_64-2.7/libImaging/Negative.o build/temp.linux-x86_64-2.7/libImaging/Offset.o build/temp.linux-x86_64-2.7/libImaging/Pack.o build/temp.linux-x86_64-2.7/libImaging/PackDecode.o build/temp.linux-x86_64-2.7/libImaging/Palette.o build/temp.linux-x86_64-2.7/libImaging/Paste.o build/temp.linux-x86_64-2.7/libImaging/Quant.o build/temp.linux-x86_64-2.7/libImaging/QuantOctree.o build/temp.linux-x86_64-2.7/libImaging/QuantHash.o build/temp.linux-x86_64-2.7/libImaging/QuantHeap.o build/temp.linux-x86_64-2.7/libImaging/PcdDecode.o build/temp.linux-x86_64-2.7/libImaging/PcxDecode.o build/temp.linux-x86_64-2.7/libImaging/PcxEncode.o build/temp.linux-x86_64-2.7/libImaging/Point.o build/temp.linux-x86_64-2.7/libImaging/RankFilter.o build/temp.linux-x86_64-2.7/libImaging/RawDecode.o build/temp.linux-x86_64-2.7/libImaging/RawEncode.o build/temp.linux-x86_64-2.7/libImaging/Storage.o build/temp.linux-x86_64-2.7/libImaging/SunRleDecode.o build/temp.linux-x86_64-2.7/libImaging/TgaRleDecode.o build/temp.linux-x86_64-2.7/libImaging/Unpack.o build/temp.linux-x86_64-2.7/libImaging/UnpackYCC.o build/temp.linux-x86_64-2.7/libImaging/UnsharpMask.o build/temp.linux-x86_64-2.7/libImaging/XbmDecode.o build/temp.linux-x86_64-2.7/libImaging/XbmEncode.o build/temp.linux-x86_64-2.7/libImaging/ZipDecode.o build/temp.linux-x86_64-2.7/libImaging/ZipEncode.o build/temp.linux-x86_64-2.7/libImaging/TiffDecode.o build/temp.linux-x86_64-2.7/libImaging/Incremental.o build/temp.linux-x86_64-2.7/libImaging/Jpeg2KDecode.o build/temp.linux-x86_64-2.7/libImaging/Jpeg2KEncode.o build/temp.linux-x86_64-2.7/libImaging/BoxBlur.o -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu -ljpeg -lz -ltiff -o build/lib.linux-x86_64-2.7/PIL/_imaging.so
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/_imaging.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/decode.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/encode.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/map.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/display.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/outline.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/path.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Access.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/AlphaComposite.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Resample.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Bands.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/BitDecode.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Blend.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Chops.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Convert.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/ConvertYCbCr.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Copy.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Crc32.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Crop.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Dib.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Draw.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Effects.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/EpsEncode.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/File.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Fill.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Filter.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/FliDecode.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Geometry.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/GetBBox.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/GifDecode.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/GifEncode.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/HexDecode.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Histo.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/JpegDecode.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/JpegEncode.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/LzwDecode.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Matrix.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/ModeFilter.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/MspDecode.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Negative.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Offset.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Pack.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/PackDecode.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Palette.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Paste.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Quant.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/QuantOctree.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/QuantHash.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/PcdDecode.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/PcxDecode.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/PcxEncode.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Point.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/RankFilter.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/RawDecode.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/RawEncode.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Storage.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/SunRleDecode.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/TgaRleDecode.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Unpack.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/UnpackYCC.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/UnsharpMask.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/XbmDecode.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/XbmEncode.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/ZipDecode.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/ZipEncode.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/TiffDecode.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Incremental.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Jpeg2KDecode.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Jpeg2KEncode.o: No such file or directory
    x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/BoxBlur.o: No such file or directory
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
    Complete output from command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-8XcIfE/Pillow/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-OGdALX-record/install-record.txt --single-version-externally-managed --compile --user:
    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/GdImageFile.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/TgaImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImagePath.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/Hdf5StubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/_util.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/FitsStubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/MspImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/FliImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/IcoImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageSequence.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/OleFileIO.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/PngImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/PaletteFile.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageQt.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/MpoImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/JpegPresets.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageStat.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/IcnsImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/SgiImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ContainerIO.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageTransform.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/PcfFontFile.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/TiffTags.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/PcxImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImagePalette.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageFilter.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/SpiderImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/PSDraw.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/DcxImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/PixarImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageCms.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/TarIO.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageColor.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/SunImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImtImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/PpmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/XVThumbImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/Image.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/MicImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageMath.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/McIdasImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageEnhance.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/PalmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/XbmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageShow.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/MpegImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/BufrStubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/PcdImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/FontFile.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/Jpeg2KImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageGrab.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/IptcImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/TiffImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/CurImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/WmfImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/__init__.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageFile.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ExifTags.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/GifImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/JpegImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/WebPImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/PsdImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageMode.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/BmpImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageDraw2.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/PyAccess.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/WalImageFile.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageMorph.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageFont.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/_binary.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/PdfImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageDraw.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/FpxImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageTk.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/XpmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/GimpPaletteFile.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageWin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/GribStubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/features.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/EpsImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageChops.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/GimpGradientFile.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/BdfFontFile.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

warning: manifest_maker: standard file '-c' not found



reading manifest file 'Pillow.egg-info/SOURCES.txt'

reading manifest template 'MANIFEST.in'

writing manifest file 'Pillow.egg-info/SOURCES.txt'

copying PIL/OleFileIO-README.md -> build/lib.linux-x86_64-2.7/PIL

running build_ext

building 'PIL._imaging' extension

creating build/temp.linux-x86_64-2.7/libImaging

x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-8XcIfE/Pillow/libImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu -c _imaging.c -o build/temp.linux-x86_64-2.7/_imaging.o

x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-8XcIfE/Pillow/libImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu -c path.c -o build/temp.linux-x86_64-2.7/path.o

x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-8XcIfE/Pillow/libImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu -c libImaging/Blend.c -o build/temp.linux-x86_64-2.7/libImaging/Blend.o

In file included from libImaging/Imaging.h:14:0,

                 from libImaging/Blend.c:19:

libImaging/ImPlatform.h:10:20: fatal error: Python.h: No such file or directory

 #include "Python.h"

                    ^

path.c:29:20: fatal error: Python.h: No such file or directory

 #include "Python.h"

                    ^

compilation terminated.

_imaging.c:76:20: fatal error: Python.h: No such file or directory

 #include "Python.h"

                    ^

compilation terminated.

compilation terminated.

x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-8XcIfE/Pillow/libImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu -c libImaging/Crop.c -o build/temp.linux-x86_64-2.7/libImaging/Crop.o

x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-8XcIfE/Pillow/libImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu -c libImaging/Fill.c -o build/temp.linux-x86_64-2.7/libImaging/Fill.o

x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-8XcIfE/Pillow/libImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu -c libImaging/GifEncode.c -o build/temp.linux-x86_64-2.7/libImaging/GifEncode.o

In file included from libImaging/Imaging.h:14:0,

                 from libImaging/Crop.c:19:

libImaging/ImPlatform.h:10:20: fatal error: Python.h: No such file or directory

 #include "Python.h"

                    ^

compilation terminated.

In file included from libImaging/Imaging.h:14:0,

                 from libImaging/Fill.c:19:

libImaging/ImPlatform.h:10:20: fatal error: Python.h: No such file or directory

 #include "Python.h"

                    ^

compilation terminated.

In file included from libImaging/Imaging.h:14:0,

                 from libImaging/GifEncode.c:20:

libImaging/ImPlatform.h:10:20: fatal error: Python.h: No such file or directory

 #include "Python.h"

                    ^

compilation terminated.

x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-8XcIfE/Pillow/libImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu -c libImaging/Matrix.c -o build/temp.linux-x86_64-2.7/libImaging/Matrix.o

x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-8XcIfE/Pillow/libImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu -c libImaging/PackDecode.c -o build/temp.linux-x86_64-2.7/libImaging/PackDecode.o

In file included from libImaging/Imaging.h:14:0,

                 from libImaging/Matrix.c:17:

libImaging/ImPlatform.h:10:20: fatal error: Python.h: No such file or directory

 #include "Python.h"

                    ^

compilation terminated.

In file included from libImaging/Imaging.h:14:0,

                 from libImaging/PackDecode.c:17:

libImaging/ImPlatform.h:10:20: fatal error: Python.h: No such file or directory

 #include "Python.h"

                    ^

compilation terminated.

x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-8XcIfE/Pillow/libImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu -c libImaging/QuantHeap.c -o build/temp.linux-x86_64-2.7/libImaging/QuantHeap.o

x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-8XcIfE/Pillow/libImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu -c libImaging/RawDecode.c -o build/temp.linux-x86_64-2.7/libImaging/RawDecode.o

x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-8XcIfE/Pillow/libImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu -c libImaging/UnpackYCC.c -o build/temp.linux-x86_64-2.7/libImaging/UnpackYCC.o

In file included from libImaging/Imaging.h:14:0,

                 from libImaging/RawDecode.c:17:

libImaging/ImPlatform.h:10:20: fatal error: Python.h: No such file or directory

 #include "Python.h"

                    ^

compilation terminated.

In file included from libImaging/Imaging.h:14:0,

                 from libImaging/UnpackYCC.c:17:

libImaging/ImPlatform.h:10:20: fatal error: Python.h: No such file or directory

 #include "Python.h"

                    ^

compilation terminated.

x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-8XcIfE/Pillow/libImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu -c libImaging/TiffDecode.c -o build/temp.linux-x86_64-2.7/libImaging/TiffDecode.o

In file included from libImaging/Imaging.h:14:0,

                 from libImaging/TiffDecode.c:13:

libImaging/ImPlatform.h:10:20: fatal error: Python.h: No such file or directory

 #include "Python.h"

                    ^

compilation terminated.

x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-8XcIfE/Pillow/libImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu -c libImaging/PcdDecode.c -o build/temp.linux-x86_64-2.7/libImaging/PcdDecode.o

In file included from libImaging/Imaging.h:14:0,

                 from libImaging/PcdDecode.c:23:

libImaging/ImPlatform.h:10:20: fatal error: Python.h: No such file or directory

 #include "Python.h"

                    ^

compilation terminated.

Building using 3 processes

x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/_imaging.o build/temp.linux-x86_64-2.7/decode.o build/temp.linux-x86_64-2.7/encode.o build/temp.linux-x86_64-2.7/map.o build/temp.linux-x86_64-2.7/display.o build/temp.linux-x86_64-2.7/outline.o build/temp.linux-x86_64-2.7/path.o build/temp.linux-x86_64-2.7/libImaging/Access.o build/temp.linux-x86_64-2.7/libImaging/AlphaComposite.o build/temp.linux-x86_64-2.7/libImaging/Resample.o build/temp.linux-x86_64-2.7/libImaging/Bands.o build/temp.linux-x86_64-2.7/libImaging/BitDecode.o build/temp.linux-x86_64-2.7/libImaging/Blend.o build/temp.linux-x86_64-2.7/libImaging/Chops.o build/temp.linux-x86_64-2.7/libImaging/Convert.o build/temp.linux-x86_64-2.7/libImaging/ConvertYCbCr.o build/temp.linux-x86_64-2.7/libImaging/Copy.o build/temp.linux-x86_64-2.7/libImaging/Crc32.o build/temp.linux-x86_64-2.7/libImaging/Crop.o build/temp.linux-x86_64-2.7/libImaging/Dib.o build/temp.linux-x86_64-2.7/libImaging/Draw.o build/temp.linux-x86_64-2.7/libImaging/Effects.o build/temp.linux-x86_64-2.7/libImaging/EpsEncode.o build/temp.linux-x86_64-2.7/libImaging/File.o build/temp.linux-x86_64-2.7/libImaging/Fill.o build/temp.linux-x86_64-2.7/libImaging/Filter.o build/temp.linux-x86_64-2.7/libImaging/FliDecode.o build/temp.linux-x86_64-2.7/libImaging/Geometry.o build/temp.linux-x86_64-2.7/libImaging/GetBBox.o build/temp.linux-x86_64-2.7/libImaging/GifDecode.o build/temp.linux-x86_64-2.7/libImaging/GifEncode.o build/temp.linux-x86_64-2.7/libImaging/HexDecode.o build/temp.linux-x86_64-2.7/libImaging/Histo.o build/temp.linux-x86_64-2.7/libImaging/JpegDecode.o build/temp.linux-x86_64-2.7/libImaging/JpegEncode.o build/temp.linux-x86_64-2.7/libImaging/LzwDecode.o build/temp.linux-x86_64-2.7/libImaging/Matrix.o build/temp.linux-x86_64-2.7/libImaging/ModeFilter.o build/temp.linux-x86_64-2.7/libImaging/MspDecode.o build/temp.linux-x86_64-2.7/libImaging/Negative.o build/temp.linux-x86_64-2.7/libImaging/Offset.o build/temp.linux-x86_64-2.7/libImaging/Pack.o build/temp.linux-x86_64-2.7/libImaging/PackDecode.o build/temp.linux-x86_64-2.7/libImaging/Palette.o build/temp.linux-x86_64-2.7/libImaging/Paste.o build/temp.linux-x86_64-2.7/libImaging/Quant.o build/temp.linux-x86_64-2.7/libImaging/QuantOctree.o build/temp.linux-x86_64-2.7/libImaging/QuantHash.o build/temp.linux-x86_64-2.7/libImaging/QuantHeap.o build/temp.linux-x86_64-2.7/libImaging/PcdDecode.o build/temp.linux-x86_64-2.7/libImaging/PcxDecode.o build/temp.linux-x86_64-2.7/libImaging/PcxEncode.o build/temp.linux-x86_64-2.7/libImaging/Point.o build/temp.linux-x86_64-2.7/libImaging/RankFilter.o build/temp.linux-x86_64-2.7/libImaging/RawDecode.o build/temp.linux-x86_64-2.7/libImaging/RawEncode.o build/temp.linux-x86_64-2.7/libImaging/Storage.o build/temp.linux-x86_64-2.7/libImaging/SunRleDecode.o build/temp.linux-x86_64-2.7/libImaging/TgaRleDecode.o build/temp.linux-x86_64-2.7/libImaging/Unpack.o build/temp.linux-x86_64-2.7/libImaging/UnpackYCC.o build/temp.linux-x86_64-2.7/libImaging/UnsharpMask.o build/temp.linux-x86_64-2.7/libImaging/XbmDecode.o build/temp.linux-x86_64-2.7/libImaging/XbmEncode.o build/temp.linux-x86_64-2.7/libImaging/ZipDecode.o build/temp.linux-x86_64-2.7/libImaging/ZipEncode.o build/temp.linux-x86_64-2.7/libImaging/TiffDecode.o build/temp.linux-x86_64-2.7/libImaging/Incremental.o build/temp.linux-x86_64-2.7/libImaging/Jpeg2KDecode.o build/temp.linux-x86_64-2.7/libImaging/Jpeg2KEncode.o build/temp.linux-x86_64-2.7/libImaging/BoxBlur.o -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu -ljpeg -lz -ltiff -o build/lib.linux-x86_64-2.7/PIL/_imaging.so

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/_imaging.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/decode.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/encode.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/map.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/display.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/outline.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/path.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Access.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/AlphaComposite.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Resample.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Bands.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/BitDecode.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Blend.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Chops.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Convert.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/ConvertYCbCr.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Copy.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Crc32.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Crop.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Dib.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Draw.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Effects.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/EpsEncode.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/File.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Fill.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Filter.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/FliDecode.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Geometry.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/GetBBox.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/GifDecode.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/GifEncode.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/HexDecode.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Histo.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/JpegDecode.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/JpegEncode.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/LzwDecode.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Matrix.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/ModeFilter.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/MspDecode.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Negative.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Offset.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Pack.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/PackDecode.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Palette.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Paste.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Quant.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/QuantOctree.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/QuantHash.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/PcdDecode.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/PcxDecode.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/PcxEncode.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Point.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/RankFilter.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/RawDecode.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/RawEncode.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Storage.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/SunRleDecode.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/TgaRleDecode.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Unpack.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/UnpackYCC.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/UnsharpMask.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/XbmDecode.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/XbmEncode.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/ZipDecode.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/ZipEncode.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/TiffDecode.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Incremental.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Jpeg2KDecode.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/Jpeg2KEncode.o: No such file or directory

x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/BoxBlur.o: No such file or directory

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

----------------------------------------
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-8XcIfE/Pillow/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-OGdALX-record/install-record.txt --single-version-externally-managed --compile --user failed with error code 1 in /tmp/pip-build-8XcIfE/Pillow
Storing debug log for failure in /home/sector11/.pip/pip.log
 
 24 Dec 15 | 19:53:17 ~
    $ 

So --- now it's been removed!  sad


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#6 2015-12-25 07:59:48

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,374
Website

Re: fireworks the hard way

@AL13N, Sector11: Weird, just retested on bunsen using exact steps from my first post and everything runs just fine (perhaps 'sudo apt-get install build-essential' is needed < guessing).

@Sector11: I guess one would have to skip --no-install-recommends < again guessing

bunsen.th.png

Other than that a plan is to read "python for dummies" over this days, so don't expect /me to come with some smart solutions ... yet smile

Last edited by brontosaurusrex (2015-12-25 08:18:14)

Offline

#7 2016-12-21 11:14:48

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,374
Website

Re: fireworks the hard way

Bump. Still as cool as last year.

Offline

#8 2016-12-21 20:59:02

porkpiehat
Member
Registered: 2015-10-27
Posts: 31

Re: fireworks the hard way

I know this is "fireworks the hard way" but if you want an easy way you could try xfireworks.

2016_12_21_125338_1280x1024_scrot.png  2016_12_21_125422_1280x1024_scrot.png

Offline

#9 2016-12-23 07:47:08

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,374
Website

Re: fireworks the hard way

@porkpiehat: Nice, have any great default? 

killall compton
xfireworks -wait 10000 -fine 500 # so far

Last edited by brontosaurusrex (2016-12-23 09:44:02)

Offline

#10 2016-12-23 14:02:32

porkpiehat
Member
Registered: 2015-10-27
Posts: 31

Re: fireworks the hard way

^ I use this one (from the man page) on my Athlon X2.

xfireworks -fine 200 -after-image 150 -gradation 64 -wait 10000

Offline

Board footer

Powered by FluxBB