All pastes #2431522 Raw Edit

Untitled

public unlisted text v1 · immutable
#2431522 ·published 2013-08-13 18:04 UTC
rendered paste body
fd@duff:~$ sudo pip install "git+git://github.com/jflesch/paperwork.git#egg=paperwork"
Downloading/unpacking git+git://github.com/jflesch/paperwork.git#egg=paperwork
  Cloning git://github.com/jflesch/paperwork.git to /tmp/pip-FAUbH_-build
  Running setup.py egg_info for package from git+git://github.com/jflesch/paperwork.git#egg=paperwork
    Detected system: Ubuntu 12.04 precise
    Detected python version: 2.7.3.final.0
    
    warning: no files found matching '*.xml' under directory 'src'
    
    Looking for Python GObject Introspection ...
    Looking for Gtk ...
    Looking for Glade UI ...
    Looking for Poppler ...
    Looking for Cairo ...
    Couldn't import Pyocr. Will assume OCR tool is not installed yet
    
    
    ==============================
    WARNING: Missing dependencies:
      - Tesseract (python module: (none) ; ubuntu package : tesseract-ocr)
      - Tesseract language data (python module: (none) ; ubuntu package : tesseract-ocr-<your language>)
    
    ==============================
    Suggested command:
      sudo apt-get install tesseract-ocr tesseract-ocr-<your language>
    ==============================
    
Requirement already satisfied (use --upgrade to upgrade): nltk in /usr/local/lib/python2.7/dist-packages (from paperwork==0.1)
Downloading/unpacking Pillow (from paperwork==0.1)
  Running setup.py egg_info for package Pillow
    
    warning: no previously-included files found matching '.hgignore'
    warning: no previously-included files found matching '.hgtags'
    warning: no previously-included files found matching 'BUILDME.bat'
    warning: no previously-included files found matching 'make-manifest.py'
    warning: no previously-included files found matching 'SHIP'
    warning: no previously-included files found matching 'SHIP.bat'
    warning: no files found matching 'COPYING'
    warning: no files found matching '*.html' under directory 'docs'
    warning: no files found matching '*.css' under directory 'docs'
    warning: no files found matching 'README' under directory 'docs'
    warning: no files found matching 'CHANGES' under directory 'docs'
    warning: no files found matching 'CONTENTS' under directory 'docs'
Downloading/unpacking pycountry (from paperwork==0.1)
  Running setup.py egg_info for package pycountry
    
    warning: no previously-included files matching 'src/pycountry' found anywhere in distribution
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
Downloading/unpacking pyenchant (from paperwork==0.1)
  Running setup.py egg_info for package pyenchant
    
    no previously-included directories found matching 'tools/pyenchant-bdist-win32-sources'
    no previously-included directories found matching 'tools/pyenchant-bdist-osx-sources'
Downloading/unpacking Whoosh (from paperwork==0.1)
  Running setup.py egg_info for package Whoosh
    
    warning: no files found matching '*.txt' under directory 'tests'
    warning: no files found matching '*.txt' under directory 'benchmark'
    warning: no files found matching '*.txt' under directory 'files'
    warning: no files found matching '*.py' under directory 'files'
    warning: no files found matching '*.jpg' under directory 'files'
Downloading/unpacking pyinsane>=1.1.0 (from paperwork==0.1)
  Running setup.py egg_info for package pyinsane
    
Downloading/unpacking pyocr (from paperwork==0.1)
  Running setup.py egg_info for package pyocr
    
Downloading/unpacking PyYAML>=3.09 (from nltk->paperwork==0.1)
  Running setup.py egg_info for package PyYAML
    
Installing collected packages: Pillow, pycountry, pyenchant, Whoosh, pyinsane, pyocr, paperwork, PyYAML
  Running setup.py install for Pillow
    building 'PIL._imaging' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -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
    _imaging.c:76:20: erreur fatale: Python.h : Aucun fichier ou dossier de ce type
    compilation terminée.
    error: command 'gcc' failed with exit status 1
    Complete output from command /usr/bin/python -c "import setuptools;__file__='/home/fd/build/Pillow/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-8_TzoO-record/install-record.txt:
    running install

running build

running build_py

running build_ext

building 'PIL._imaging' extension

gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -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

_imaging.c:76:20: erreur fatale: Python.h : Aucun fichier ou dossier de ce type

compilation terminée.

error: command 'gcc' failed with exit status 1

----------------------------------------
Command /usr/bin/python -c "import setuptools;__file__='/home/fd/build/Pillow/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-8_TzoO-record/install-record.txt failed with error code 1
Storing complete log in /home/fd/.pip/pip.log
fd@duff:~$