====== Odoo ====== [[https://www.odoo.com/fr_FR/|Odoo]] est un ERP libre. ===== Installation ===== Comme je compte développer pour Odoo, j'ai voulu mettre en place un [[chroot]] et compiler Odoo dedans. Pour avoir quelque chose de facilement sauvegardable et réplicable. ==== chroot ==== Les détails sur la configuration d'une Debian dans un [[chroot]] sont sur [[chroot|cette page]]. Voici un résumé : # debootstrap --arch=amd64 --include=locales-all stretch chroot/debian-stretch http://ftp.be.debian.org/debian/ $ vim launch-debian-stretch.sh #!/bin/bash cd /home/simon/chroot/debian-stretch sudo mount --bind /proc proc sudo mount --bind /sys sys sudo chroot . /bin/bash sudo umount sys sudo umount proc $ chmod +x launch-debian-stretch.sh Pour se connecter à l'installation "chrootée" : # ./launch-debian-stretch.sh ==== Configuration avant d'installer Odoo ==== Une fois sur la Debian "chrootée", il faut installer "sudo" (utilisé dans les exemples du livre "[[https://www.packtpub.com/big-data-and-business-intelligence/odoo-10-development-essentials|Odoo 10 Development Essentials]]") # apt install sudo Création d'un user "odoo" et initialisation du mot de passe : # useradd -m -g sudo -s /bin/bash odoo # passwd odoo Entrez le nouveau mot de passe UNIX : Retapez le nouveau mot de passe UNIX : passwd: password updated successfully Connexion sur le compte "odoo" et vérifications : root@laptop:/# su odoo odoo@laptop:/$ whoami odoo odoo@laptop:/$ echo $HOME /home/odoo ==== Installer les prérequis à Odoo ==== Donc, sur notre installation "chroot", on installe les prérequis pour commencer à travailler avec Odoo. # apt install git curl Installation de NPM : # curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - ## Installing the NodeSource Node.js v8.x repo... ## Populating apt-get cache... + apt-get update Ign:1 http://ftp.be.debian.org/debian stretch InRelease Atteint:2 http://ftp.be.debian.org/debian stretch Release Lecture des listes de paquets... Fait ## Installing packages required for setup: apt-transport-https lsb-release... + apt-get install -y apt-transport-https lsb-release > /dev/null 2>&1 ## Confirming "stretch" is supported... + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_8.x/dists/stretch/Release' ## Adding the NodeSource signing key to your keyring... + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - OK ## Creating apt sources list file for the NodeSource Node.js v8.x repo... + echo 'deb https://deb.nodesource.com/node_8.x stretch main' > /etc/apt/sources.list.d/nodesource.list + echo 'deb-src https://deb.nodesource.com/node_8.x stretch main' >> /etc/apt/sources.list.d/nodesource.list ## Running `apt-get update` for you... + apt-get update Ign:1 http://ftp.be.debian.org/debian stretch InRelease Atteint:2 http://ftp.be.debian.org/debian stretch Release Réception de:4 https://deb.nodesource.com/node_8.x stretch InRelease [4.647 B] Réception de:5 https://deb.nodesource.com/node_8.x stretch/main Sources [762 B] Réception de:6 https://deb.nodesource.com/node_8.x stretch/main amd64 Packages [1.008 B] 6.417 o réceptionnés en 0s (7.096 o/s) Lecture des listes de paquets... Fait ## Run `apt-get install nodejs` (as root) to install Node.js v8.x and npm # apt install nodejs Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait The following additional packages will be installed: libpython-stdlib libpython2.7-minimal libpython2.7-stdlib python python-minimal python2.7 python2.7-minimal Paquets suggérés : python-doc python-tk python2.7-doc binutils binfmt-support Les NOUVEAUX paquets suivants seront installés : libpython-stdlib libpython2.7-minimal libpython2.7-stdlib nodejs python python-minimal python2.7 python2.7-minimal 0 mis à jour, 8 nouvellement installés, 0 à enlever et 0 non mis à jour. Il est nécessaire de prendre 16,6 Mo dans les archives. Après cette opération, 74,3 Mo d'espace disque supplémentaires seront utilisés. Souhaitez-vous continuer ? [O/n] Réception de:1 http://ftp.be.debian.org/debian stretch/main amd64 libpython2.7-minimal amd64 2.7.13-2 [389 kB] Réception de:2 http://ftp.be.debian.org/debian stretch/main amd64 python2.7-minimal amd64 2.7.13-2 [1.383 kB] Réception de:3 https://deb.nodesource.com/node_8.x stretch/main amd64 nodejs amd64 8.7.0-1nodesource1 [12,5 MB] Réception de:4 http://ftp.be.debian.org/debian stretch/main amd64 python-minimal amd64 2.7.13-2 [40,5 kB] Réception de:5 http://ftp.be.debian.org/debian stretch/main amd64 libpython2.7-stdlib amd64 2.7.13-2 [1.895 kB] Réception de:6 http://ftp.be.debian.org/debian stretch/main amd64 python2.7 amd64 2.7.13-2 [285 kB] Réception de:7 http://ftp.be.debian.org/debian stretch/main amd64 libpython-stdlib amd64 2.7.13-2 [20,0 kB] Réception de:8 http://ftp.be.debian.org/debian stretch/main amd64 python amd64 2.7.13-2 [154 kB] 16,6 Mo réceptionnés en 11s (1.488 ko/s) E: Impossible d'écrire le journal (Est-ce que /dev/pts est monté ?) - posix_openpt (19: Aucun périphérique de ce type) Sélection du paquet libpython2.7-minimal:amd64 précédemment désélectionné. (Lecture de la base de données... 20634 fichiers et répertoires déjà installés.) Préparation du dépaquetage de .../0-libpython2.7-minimal_2.7.13-2_amd64.deb ... Dépaquetage de libpython2.7-minimal:amd64 (2.7.13-2) ... Sélection du paquet python2.7-minimal précédemment désélectionné. Préparation du dépaquetage de .../1-python2.7-minimal_2.7.13-2_amd64.deb ... Dépaquetage de python2.7-minimal (2.7.13-2) ... Sélection du paquet python-minimal précédemment désélectionné. Préparation du dépaquetage de .../2-python-minimal_2.7.13-2_amd64.deb ... Dépaquetage de python-minimal (2.7.13-2) ... Sélection du paquet libpython2.7-stdlib:amd64 précédemment désélectionné. Préparation du dépaquetage de .../3-libpython2.7-stdlib_2.7.13-2_amd64.deb ... Dépaquetage de libpython2.7-stdlib:amd64 (2.7.13-2) ... Sélection du paquet python2.7 précédemment désélectionné. Préparation du dépaquetage de .../4-python2.7_2.7.13-2_amd64.deb ... Dépaquetage de python2.7 (2.7.13-2) ... Sélection du paquet libpython-stdlib:amd64 précédemment désélectionné. Préparation du dépaquetage de .../5-libpython-stdlib_2.7.13-2_amd64.deb ... Dépaquetage de libpython-stdlib:amd64 (2.7.13-2) ... Paramétrage de libpython2.7-minimal:amd64 (2.7.13-2) ... Paramétrage de python2.7-minimal (2.7.13-2) ... Linking and byte-compiling packages for runtime python2.7... Paramétrage de python-minimal (2.7.13-2) ... Sélection du paquet python précédemment désélectionné. (Lecture de la base de données... 21380 fichiers et répertoires déjà installés.) Préparation du dépaquetage de .../python_2.7.13-2_amd64.deb ... Dépaquetage de python (2.7.13-2) ... Sélection du paquet nodejs précédemment désélectionné. Préparation du dépaquetage de .../nodejs_8.7.0-1nodesource1_amd64.deb ... Dépaquetage de nodejs (8.7.0-1nodesource1) ... Traitement des actions différées (« triggers ») pour mime-support (3.60) ... Paramétrage de nodejs (8.7.0-1nodesource1) ... Paramétrage de libpython2.7-stdlib:amd64 (2.7.13-2) ... Paramétrage de python2.7 (2.7.13-2) ... Paramétrage de libpython-stdlib:amd64 (2.7.13-2) ... Paramétrage de python (2.7.13-2) ... Odoo a apparemment besoin de "less" (qui n'a rien à voir avec [[less]]...). # npm install -g less less-plugin-clean-css /usr/bin/lessc -> /usr/lib/node_modules/less/bin/lessc + less@3.0.0-alpha.3 + less-plugin-clean-css@1.5.1 added 17 packages in 8.182s ==== Installer Odoo 9 ==== root@laptop:/# su odoo odoo@laptop:/$ cd $HOME/ odoo@laptop:~$ ls odoo@laptop:~$ mkdir ~/odoo-dev odoo@laptop:~$ cd odoo-dev/ ==== Installer Odoo 10 ==== Ce n'est pas la version utilisée pour le moment. root@laptop:/# su odoo odoo@laptop:/$ cd $HOME/ odoo@laptop:~$ ls odoo@laptop:~$ mkdir ~/odoo-dev odoo@laptop:~$ cd odoo-dev/ odoo@laptop:~/odoo-dev$ git clone https://github.com/odoo/odoo.git -b 10.0 --depth=1 Clonage dans 'odoo'... remote: Counting objects: 23386, done. remote: Compressing objects: 100% (18552/18552), done. remote: Total 23386 (delta 7413), reused 11138 (delta 4087), pack-reused 0 Réception d'objets: 100% (23386/23386), 111.17 MiB | 420.00 KiB/s, fait. Résolution des deltas: 100% (7413/7413), fait. Extraction des fichiers: 100% (21207/21207), fait. Il y a un script pour installer les dépendances d'odoo : $ ./odoo/setup/setup_dev.py setup_deps Malheureusement, il plante sur "python-pypdf", me disant qu'il ne peut pas être installé. On regarde ce qui existe dans les dépôts : **python-pypdf2** $ sudo apt install python-pypdf2 Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait Les NOUVEAUX paquets suivants seront installés : python-pypdf2 0 mis à jour, 1 nouvellement installés, 0 à enlever et 0 non mis à jour. Il est nécessaire de prendre 57,0 ko dans les archives. Après cette opération, 271 ko d'espace disque supplémentaires seront utilisés. Réception de:1 http://ftp.be.debian.org/debian stretch/main amd64 python-pypdf2 all 1.26.0-2 [57,0 kB] 57,0 ko réceptionnés en 0s (199 ko/s) Sélection du paquet python-pypdf2 précédemment désélectionné. (Lecture de la base de données... 25135 fichiers et répertoires déjà installés.) Préparation du dépaquetage de .../python-pypdf2_1.26.0-2_all.deb ... Dépaquetage de python-pypdf2 (1.26.0-2) ... Paramétrage de python-pypdf2 (1.26.0-2) ... Malheureusement, ça ne lui convient pas... Je regarde si on peut installer l'ancienne version via [[pip]] : $ sudo apt install python-pip Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait The following additional packages will be installed: binutils build-essential cpp cpp-6 dbus dpkg-dev fakeroot g++ g++-6 gcc gcc-6 gir1.2-glib-2.0 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan3 libatomic1 libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libdbus-1-3 libdbus-glib-1-2 libdpkg-perl libexpat1-dev libfakeroot libfile-fcntllock-perl libgcc-6-dev libgirepository-1.0-1 libglib2.0-0 libglib2.0-data libgomp1 libicu57 libisl15 libitm1 liblsan0 libmpc3 libmpfr4 libmpx2 libpython-all-dev libpython-dev libpython2.7 libpython2.7-dev libquadmath0 libstdc++-6-dev libtsan0 libubsan0 libxml2 linux-libc-dev make manpages manpages-dev python-all python-all-dev python-cffi-backend python-crypto python-cryptography python-dbus python-dev python-enum34 python-gi python-idna python-ipaddress python-keyring python-keyrings.alt python-pip-whl python-pkg-resources python-pyasn1 python-secretstorage python-setuptools python-six python-wheel python-xdg python2.7-dev sgml-base shared-mime-info xdg-user-dirs xml-core Paquets suggérés : binutils-doc cpp-doc gcc-6-locales default-dbus-session-bus | dbus-session-bus debian-keyring g++-multilib g++-6-multilib gcc-6-doc libstdc++6-6-dbg gcc-multilib autoconf automake libtool flex bison gdb gcc-doc gcc-6-multilib libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan3-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg glibc-doc libstdc++-6-doc make-doc man-browser python-crypto-dbg python-crypto-doc python-cryptography-doc python-cryptography-vectors python-dbus-dbg python-dbus-doc python-enum34-doc python-gi-cairo gnome-keyring libkf5wallet-bin gir1.2-gnomekeyring-1.0 python-fs python-gdata python-kde4 python-keyczar doc-base python-secretstorage-doc python-setuptools-doc sgml-base-doc debhelper Les NOUVEAUX paquets suivants seront installés : binutils build-essential cpp cpp-6 dbus dpkg-dev fakeroot g++ g++-6 gcc gcc-6 gir1.2-glib-2.0 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan3 libatomic1 libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libdbus-1-3 libdbus-glib-1-2 libdpkg-perl libexpat1-dev libfakeroot libfile-fcntllock-perl libgcc-6-dev libgirepository-1.0-1 libglib2.0-0 libglib2.0-data libgomp1 libicu57 libisl15 libitm1 liblsan0 libmpc3 libmpfr4 libmpx2 libpython-all-dev libpython-dev libpython2.7 libpython2.7-dev libquadmath0 libstdc++-6-dev libtsan0 libubsan0 libxml2 linux-libc-dev make manpages manpages-dev python-all python-all-dev python-cffi-backend python-crypto python-cryptography python-dbus python-dev python-enum34 python-gi python-idna python-ipaddress python-keyring python-keyrings.alt python-pip python-pip-whl python-pkg-resources python-pyasn1 python-secretstorage python-setuptools python-six python-wheel python-xdg python2.7-dev sgml-base shared-mime-info xdg-user-dirs xml-core 0 mis à jour, 79 nouvellement installés, 0 à enlever et 0 non mis à jour. Il est nécessaire de prendre 89,8 Mo dans les archives. Après cette opération, 277 Mo d'espace disque supplémentaires seront utilisés. Souhaitez-vous continuer ? [O/n] (...) odoo@laptop:~/odoo-dev$ pip search pypdf pdftools (1.1.0) - A collection of convenience scripts for pdf manipulation, based on the PyPdf2 package. pyjon.reports (0.6) - Pyjon.Reports is a module bridging z3c.rml, genshi and pypdf together to provide a simple mean of creating templated pdf documents in python. pyPdf (1.13) - PDF toolkit PyPDF2 (1.26.0) - PDF toolkit INSTALLED: 1.26.0 (latest) pypdf2table (0.2.2) - PDF table extraction tool pypdf2xml (0.3) - A reimplementation of pdftoxml in Python, using pdfMiner. Handles unicode characters better. pyPdfFinder (0.2) - A pdf api created to easy find and write words at a pdf file pypdflib (0.1.a3) - Pango Cairo based Python PDF Library PyPDFLite (0.1.40) - Simple PDF Writer. pypdfml (0.1.0alpha) - Simple XML wrapper for reportlab. pypdfocr (0.9.1) - Converts a scanned PDF into an OCR'ed pdf using Tesseract-OCR and Ghostscript pypdfparse (0.3.1) - A PDF Inspector pypdftk (0.3) - Python wrapper for PDFTK **pypdf** est disponible via [[pip]], on installe : odoo@laptop:~/odoo-dev$ pip install pypdf Collecting pypdf Downloading pyPdf-1.13.tar.gz Building wheels for collected packages: pypdf Running setup.py bdist_wheel for pypdf ... done Stored in directory: /home/odoo/.cache/pip/wheels/44/8b/98/27e1f4566acef44a7fbc2b0db6a10e2a493833e2d2e34fa110 Successfully built pypdf Installing collected packages: pypdf Successfully installed pypdf-1.13 Ça ne suffit toujours pas... J'essaye une autre méthode trouvée sur [[|le github d'odoo]] : odoo@laptop:~/odoo-dev/odoo$ sudo pip install --upgrade -r requirements.txt Collecting Babel==2.3.4 (from -r requirements.txt (line 1)) Downloading Babel-2.3.4-py2.py3-none-any.whl (7.1MB) 100% |████████████████████████████████| 7.1MB 107kB/s Collecting decorator==4.0.10 (from -r requirements.txt (line 2)) Downloading decorator-4.0.10-py2.py3-none-any.whl Collecting docutils==0.12 (from -r requirements.txt (line 3)) Downloading docutils-0.12.tar.gz (1.6MB) 100% |████████████████████████████████| 1.6MB 395kB/s Collecting ebaysdk==2.1.4 (from -r requirements.txt (line 4)) Downloading ebaysdk-2.1.4.tar.gz (40kB) 100% |████████████████████████████████| 51kB 1.4MB/s Collecting feedparser==5.2.1 (from -r requirements.txt (line 5)) Downloading feedparser-5.2.1.zip (1.2MB) 100% |████████████████████████████████| 1.2MB 676kB/s Collecting gevent==1.1.2 (from -r requirements.txt (line 6)) Downloading gevent-1.1.2-cp27-cp27mu-manylinux1_x86_64.whl (1.3MB) 100% |████████████████████████████████| 1.3MB 465kB/s Collecting greenlet==0.4.10 (from -r requirements.txt (line 7)) Downloading greenlet-0.4.10-cp27-cp27mu-manylinux1_x86_64.whl (41kB) 100% |████████████████████████████████| 51kB 1.6MB/s Collecting jcconv==0.2.3 (from -r requirements.txt (line 8)) Downloading jcconv-0.2.3.tar.gz Collecting Jinja2==2.8 (from -r requirements.txt (line 9)) Downloading Jinja2-2.8-py2.py3-none-any.whl (263kB) 100% |████████████████████████████████| 266kB 1.5MB/s Collecting lxml==3.5.0 (from -r requirements.txt (line 10)) Downloading lxml-3.5.0.tar.gz (3.8MB) 100% |████████████████████████████████| 3.8MB 198kB/s Collecting Mako==1.0.4 (from -r requirements.txt (line 11)) Downloading Mako-1.0.4.tar.gz (574kB) 100% |████████████████████████████████| 583kB 872kB/s Collecting MarkupSafe==0.23 (from -r requirements.txt (line 12)) Downloading MarkupSafe-0.23.tar.gz Collecting mock==2.0.0 (from -r requirements.txt (line 13)) Downloading mock-2.0.0-py2.py3-none-any.whl (56kB) 100% |████████████████████████████████| 61kB 1.5MB/s Collecting ofxparse==0.16 (from -r requirements.txt (line 14)) Downloading ofxparse-0.16.tar.gz (49kB) 100% |████████████████████████████████| 51kB 2.1MB/s Collecting passlib==1.6.5 (from -r requirements.txt (line 15)) Downloading passlib-1.6.5-py2.py3-none-any.whl (317kB) 100% |████████████████████████████████| 327kB 1.2MB/s Collecting Pillow==3.4.1 (from -r requirements.txt (line 16)) Downloading Pillow-3.4.1-cp27-cp27mu-manylinux1_x86_64.whl (5.6MB) 100% |████████████████████████████████| 5.6MB 139kB/s Collecting psutil==4.3.1 (from -r requirements.txt (line 17)) Downloading psutil-4.3.1.tar.gz (315kB) 100% |████████████████████████████████| 317kB 1.2MB/s Collecting psycogreen==1.0 (from -r requirements.txt (line 18)) Downloading psycogreen-1.0.tar.gz Collecting psycopg2==2.7.1 (from -r requirements.txt (line 19)) Downloading psycopg2-2.7.1-cp27-cp27mu-manylinux1_x86_64.whl (2.7MB) 100% |████████████████████████████████| 2.7MB 275kB/s Collecting pydot==1.2.3 (from -r requirements.txt (line 20)) Downloading pydot-1.2.3.tar.gz Collecting pyparsing==2.1.10 (from -r requirements.txt (line 21)) Downloading pyparsing-2.1.10-py2.py3-none-any.whl (56kB) 100% |████████████████████████████████| 61kB 1.2MB/s Requirement already up-to-date: pyPdf==1.13 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 22)) Collecting pyserial==3.1.1 (from -r requirements.txt (line 23)) Downloading pyserial-3.1.1-py2.py3-none-any.whl (200kB) 100% |████████████████████████████████| 204kB 1.3MB/s Collecting Python-Chart==1.39 (from -r requirements.txt (line 24)) Downloading Python-Chart-1.39.tar.gz (76kB) 100% |████████████████████████████████| 81kB 1.8MB/s Collecting python-dateutil==2.5.3 (from -r requirements.txt (line 25)) Downloading python_dateutil-2.5.3-py2.py3-none-any.whl (201kB) 100% |████████████████████████████████| 204kB 1.5MB/s Collecting python-ldap==2.4.27 (from -r requirements.txt (line 26)) Downloading python-ldap-2.4.27.tar.gz (125kB) 100% |████████████████████████████████| 133kB 1.5MB/s Collecting python-openid==2.2.5 (from -r requirements.txt (line 27)) Downloading python-openid-2.2.5.tar.gz (301kB) 100% |████████████████████████████████| 307kB 1.2MB/s Collecting pytz==2016.7 (from -r requirements.txt (line 28)) Downloading pytz-2016.7-py2.py3-none-any.whl (480kB) 100% |████████████████████████████████| 481kB 973kB/s Collecting pyusb==1.0.0 (from -r requirements.txt (line 29)) Downloading PyUSB-1.0.0.tar.gz (52kB) 100% |████████████████████████████████| 61kB 2.2MB/s Collecting PyYAML==3.12 (from -r requirements.txt (line 30)) Downloading PyYAML-3.12.tar.gz (253kB) 100% |████████████████████████████████| 256kB 1.3MB/s Collecting qrcode==5.3 (from -r requirements.txt (line 31)) Downloading qrcode-5.3-py2.py3-none-any.whl Collecting reportlab==3.3.0 (from -r requirements.txt (line 32)) Downloading reportlab-3.3.0.tar.gz (2.0MB) 100% |████████████████████████████████| 2.0MB 372kB/s Collecting requests==2.11.1 (from -r requirements.txt (line 33)) Downloading requests-2.11.1-py2.py3-none-any.whl (514kB) 100% |████████████████████████████████| 522kB 856kB/s Requirement already up-to-date: six==1.10.0 in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 34)) Collecting suds-jurko==0.6 (from -r requirements.txt (line 35)) Downloading suds-jurko-0.6.tar.bz2 (143kB) 100% |████████████████████████████████| 153kB 1.5MB/s Collecting vatnumber==1.2 (from -r requirements.txt (line 36)) Downloading vatnumber-1.2.tar.gz Collecting vobject==0.9.3 (from -r requirements.txt (line 37)) Downloading vobject-0.9.3.tar.gz (51kB) 100% |████████████████████████████████| 51kB 2.2MB/s Collecting Werkzeug==0.11.11 (from -r requirements.txt (line 38)) Downloading Werkzeug-0.11.11-py2.py3-none-any.whl (306kB) 100% |████████████████████████████████| 307kB 1.1MB/s Requirement already up-to-date: wsgiref==0.1.2 in /usr/lib/python2.7 (from -r requirements.txt (line 39)) Collecting XlsxWriter==0.9.3 (from -r requirements.txt (line 40)) Downloading XlsxWriter-0.9.3-py2.py3-none-any.whl (136kB) 100% |████████████████████████████████| 143kB 1.5MB/s Collecting xlwt==1.1.2 (from -r requirements.txt (line 41)) Downloading xlwt-1.1.2-py2.py3-none-any.whl (99kB) 100% |████████████████████████████████| 102kB 1.9MB/s Collecting xlrd==1.0.0 (from -r requirements.txt (line 42)) Downloading xlrd-1.0.0.tar.gz (2.6MB) 100% |████████████████████████████████| 2.6MB 218kB/s Collecting funcsigs>=1; python_version < "3.3" (from mock==2.0.0->-r requirements.txt (line 13)) Downloading funcsigs-1.0.2-py2.py3-none-any.whl Collecting pbr>=0.11 (from mock==2.0.0->-r requirements.txt (line 13)) Downloading pbr-3.1.1-py2.py3-none-any.whl (99kB) 100% |████████████████████████████████| 102kB 1.6MB/s Collecting beautifulsoup4 (from ofxparse==0.16->-r requirements.txt (line 14)) Downloading beautifulsoup4-4.6.0-py2-none-any.whl (86kB) 100% |████████████████████████████████| 92kB 2.1MB/s Collecting setuptools (from python-ldap==2.4.27->-r requirements.txt (line 26)) Downloading setuptools-36.5.0-py2.py3-none-any.whl (478kB) 100% |████████████████████████████████| 481kB 953kB/s Requirement already up-to-date: pip>=1.4.1 in /usr/lib/python2.7/dist-packages (from reportlab==3.3.0->-r requirements.txt (line 32)) Collecting python-stdnum (from vatnumber==1.2->-r requirements.txt (line 36)) Downloading python-stdnum-1.7.tar.gz (411kB) 100% |████████████████████████████████| 419kB 1.1MB/s Building wheels for collected packages: docutils, ebaysdk, feedparser, jcconv, lxml, Mako, MarkupSafe, ofxparse, psutil, psycogreen, pydot, Python-Chart, python-ldap, python-openid, pyusb, PyYAML, reportlab, suds-jurko, vatnumber, vobject, xlrd, python-stdnum Running setup.py bdist_wheel for docutils ... done Stored in directory: /root/.cache/pip/wheels/db/de/bd/b99b1e12d321fbc950766c58894c6576b1a73ae3131b29a151 Running setup.py bdist_wheel for ebaysdk ... done Stored in directory: /root/.cache/pip/wheels/b5/06/02/74b8c1b0f81c8f1dd3b17b6143f5769ca20865232488a8bede Running setup.py bdist_wheel for feedparser ... done Stored in directory: /root/.cache/pip/wheels/15/ce/10/b500f745822ea6db6ea8ed225c06b15c000d71016b89ef9037 Running setup.py bdist_wheel for jcconv ... done Stored in directory: /root/.cache/pip/wheels/b5/7b/a5/160bdf6a6d357b4b5b279cca2d22363525ed36a87e962e5c7b Running setup.py bdist_wheel for lxml ... error Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-wIowft/lxml/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/tmpxQZcKUpip-wheel- --python-tag cp27: Building lxml version 3.5.0. Building without Cython. ERROR: /bin/sh: 1: xslt-config: not found ** make sure the development packages of libxml2 and libxslt are installed ** Using build configuration of libxslt 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/lxml copying src/lxml/ElementInclude.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/builder.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/usedoctest.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/doctestcompare.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/sax.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/_elementpath.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/__init__.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/cssselect.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/pyclasslookup.py -> build/lib.linux-x86_64-2.7/lxml creating build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/__init__.py -> build/lib.linux-x86_64-2.7/lxml/includes creating build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/defs.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/builder.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/usedoctest.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/soupparser.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/clean.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/formfill.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/ElementSoup.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/_diffcommand.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/_html5builder.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/__init__.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/html5parser.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/diff.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/_setmixin.py -> build/lib.linux-x86_64-2.7/lxml/html creating build/lib.linux-x86_64-2.7/lxml/isoschematron copying src/lxml/isoschematron/__init__.py -> build/lib.linux-x86_64-2.7/lxml/isoschematron copying src/lxml/lxml.etree.h -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/lxml.etree_api.h -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/relaxng.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/c14n.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/xpath.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/xslt.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/xinclude.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/tree.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/uri.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/schematron.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/config.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/lxml-version.h -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/etree_defs.h -> build/lib.linux-x86_64-2.7/lxml/includes creating build/lib.linux-x86_64-2.7/lxml/isoschematron/resources creating build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/rng copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/rng creating build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl creating build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 running build_ext building 'lxml.etree' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/src creating build/temp.linux-x86_64-2.7/src/lxml x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-HVkOs2/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Isrc/lxml/includes -I/usr/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-2.7/src/lxml/lxml.etree.o -w In file included from src/lxml/lxml.etree.c:323:0: src/lxml/includes/etree_defs.h:14:31: fatal error: libxml/xmlversion.h: Aucun fichier ou dossier de ce type #include "libxml/xmlversion.h" ^ compilation terminated. Compile failed: command 'x86_64-linux-gnu-gcc' failed with exit status 1 creating tmp cc -I/usr/include/libxml2 -c /tmp/xmlXPathInitoF_ryz.c -o tmp/xmlXPathInitoF_ryz.o /tmp/xmlXPathInitoF_ryz.c:1:26: fatal error: libxml/xpath.h: Aucun fichier ou dossier de ce type #include "libxml/xpath.h" ^ compilation terminated. ********************************************************************************* Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed? ********************************************************************************* error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- Failed building wheel for lxml Running setup.py clean for lxml Running setup.py bdist_wheel for Mako ... done Stored in directory: /root/.cache/pip/wheels/2a/fa/9a/7030d96d3c51f433848e4cd67a353a411ba6deb5c14e150730 Running setup.py bdist_wheel for MarkupSafe ... done Stored in directory: /root/.cache/pip/wheels/a3/fa/dc/0198eed9ad95489b8a4f45d14dd5d2aee3f8984e46862c5748 Running setup.py bdist_wheel for ofxparse ... done Stored in directory: /root/.cache/pip/wheels/9c/74/d9/58a39c43ce8f57fa3c328b63a04dea1c578bdcad54ce3a9c6f Running setup.py bdist_wheel for psutil ... done Stored in directory: /root/.cache/pip/wheels/e1/45/d0/ddea1473c0c0ae85a4c05d72ad8bea60e0d1852367fe46e5b5 Running setup.py bdist_wheel for psycogreen ... done Stored in directory: /root/.cache/pip/wheels/8a/20/e0/6e72fc4bf978c6c29740e0bde1d13823d327243db1adccd997 Running setup.py bdist_wheel for pydot ... done Stored in directory: /root/.cache/pip/wheels/47/8c/c2/4ac7bd0219b4ce5e08d03dc3467014c7a94b2efecfc29df2b2 Running setup.py bdist_wheel for Python-Chart ... done Stored in directory: /root/.cache/pip/wheels/d9/93/a2/8d45e099b711eb8e65269f862f9e1c64eb17061d69cc30f813 Running setup.py bdist_wheel for python-ldap ... error Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-wIowft/python-ldap/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/tmpvEZxfopip-wheel- --python-tag cp27: defines: HAVE_SASL HAVE_TLS HAVE_LIBLDAP_R extra_compile_args: extra_objects: include_dirs: /usr/include /usr/include/sasl /usr/local/include /usr/local/include/sasl library_dirs: /usr/lib /usr/lib64 /usr/local/lib /usr/local/lib64 libs: ldap_r running bdist_wheel running build running build_py file Lib/ldap.py (for module ldap) not found file Lib/ldap/controls.py (for module ldap.controls) not found file Lib/ldap/extop.py (for module ldap.extop) not found file Lib/ldap/schema.py (for module ldap.schema) not found creating build creating build/lib.linux-x86_64-2.7 copying Lib/ldapurl.py -> build/lib.linux-x86_64-2.7 copying Lib/ldif.py -> build/lib.linux-x86_64-2.7 copying Lib/dsml.py -> build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/ldap copying Lib/ldap/__init__.py -> build/lib.linux-x86_64-2.7/ldap copying Lib/ldap/async.py -> build/lib.linux-x86_64-2.7/ldap creating build/lib.linux-x86_64-2.7/ldap/controls copying Lib/ldap/controls/__init__.py -> build/lib.linux-x86_64-2.7/ldap/controls copying Lib/ldap/controls/deref.py -> build/lib.linux-x86_64-2.7/ldap/controls copying Lib/ldap/controls/libldap.py -> build/lib.linux-x86_64-2.7/ldap/controls copying Lib/ldap/controls/openldap.py -> build/lib.linux-x86_64-2.7/ldap/controls copying Lib/ldap/controls/ppolicy.py -> build/lib.linux-x86_64-2.7/ldap/controls copying Lib/ldap/controls/psearch.py -> build/lib.linux-x86_64-2.7/ldap/controls copying Lib/ldap/controls/pwdpolicy.py -> build/lib.linux-x86_64-2.7/ldap/controls copying Lib/ldap/controls/readentry.py -> build/lib.linux-x86_64-2.7/ldap/controls copying Lib/ldap/controls/sessiontrack.py -> build/lib.linux-x86_64-2.7/ldap/controls copying Lib/ldap/controls/simple.py -> build/lib.linux-x86_64-2.7/ldap/controls copying Lib/ldap/controls/sss.py -> build/lib.linux-x86_64-2.7/ldap/controls copying Lib/ldap/cidict.py -> build/lib.linux-x86_64-2.7/ldap copying Lib/ldap/dn.py -> build/lib.linux-x86_64-2.7/ldap creating build/lib.linux-x86_64-2.7/ldap/extop copying Lib/ldap/extop/__init__.py -> build/lib.linux-x86_64-2.7/ldap/extop copying Lib/ldap/extop/dds.py -> build/lib.linux-x86_64-2.7/ldap/extop copying Lib/ldap/filter.py -> build/lib.linux-x86_64-2.7/ldap copying Lib/ldap/functions.py -> build/lib.linux-x86_64-2.7/ldap copying Lib/ldap/ldapobject.py -> build/lib.linux-x86_64-2.7/ldap copying Lib/ldap/logger.py -> build/lib.linux-x86_64-2.7/ldap copying Lib/ldap/modlist.py -> build/lib.linux-x86_64-2.7/ldap copying Lib/ldap/resiter.py -> build/lib.linux-x86_64-2.7/ldap copying Lib/ldap/sasl.py -> build/lib.linux-x86_64-2.7/ldap creating build/lib.linux-x86_64-2.7/ldap/schema copying Lib/ldap/schema/__init__.py -> build/lib.linux-x86_64-2.7/ldap/schema copying Lib/ldap/schema/models.py -> build/lib.linux-x86_64-2.7/ldap/schema copying Lib/ldap/schema/subentry.py -> build/lib.linux-x86_64-2.7/ldap/schema copying Lib/ldap/schema/tokenizer.py -> build/lib.linux-x86_64-2.7/ldap/schema copying Lib/ldap/syncrepl.py -> build/lib.linux-x86_64-2.7/ldap file Lib/ldap.py (for module ldap) not found file Lib/ldap/controls.py (for module ldap.controls) not found file Lib/ldap/extop.py (for module ldap.extop) not found file Lib/ldap/schema.py (for module ldap.schema) not found running egg_info writing requirements to Lib/python_ldap.egg-info/requires.txt writing Lib/python_ldap.egg-info/PKG-INFO writing top-level names to Lib/python_ldap.egg-info/top_level.txt writing dependency_links to Lib/python_ldap.egg-info/dependency_links.txt file Lib/ldap.py (for module ldap) not found file Lib/ldap/controls.py (for module ldap.controls) not found file Lib/ldap/extop.py (for module ldap.extop) not found file Lib/ldap/schema.py (for module ldap.schema) not found reading manifest file 'Lib/python_ldap.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'Makefile' warning: no files found matching 'Modules/LICENSE' writing manifest file 'Lib/python_ldap.egg-info/SOURCES.txt' running build_ext building '_ldap' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/Modules x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-HVkOs2/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_SASL -DHAVE_TLS -DHAVE_LIBLDAP_R -DHAVE_LIBLDAP_R -DLDAPMODULE_VERSION=2.4.27 -IModules -I/usr/include -I/usr/include/sasl -I/usr/local/include -I/usr/local/include/sasl -I/usr/include/python2.7 -c Modules/LDAPObject.c -o build/temp.linux-x86_64-2.7/Modules/LDAPObject.o In file included from Modules/LDAPObject.c:9:0: Modules/errors.h:8:18: fatal error: lber.h: Aucun fichier ou dossier de ce type #include "lber.h" ^ compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- Failed building wheel for python-ldap Running setup.py clean for python-ldap Running setup.py bdist_wheel for python-openid ... done Stored in directory: /root/.cache/pip/wheels/0a/da/67/e9e68f4b5e03732dc17a545b4ce3ce84b4a9bef67253d4ff72 Running setup.py bdist_wheel for pyusb ... done Stored in directory: /root/.cache/pip/wheels/18/b0/b8/83d67cc7a3b50866f908ca1104b553f7807e1e767ddf373427 Running setup.py bdist_wheel for PyYAML ... done Stored in directory: /root/.cache/pip/wheels/2c/f7/79/13f3a12cd723892437c0cfbde1230ab4d82947ff7b3839a4fc Running setup.py bdist_wheel for reportlab ... done Stored in directory: /root/.cache/pip/wheels/07/a4/2c/545831639e945172f7c1779af48af03dad60c2138a3716cc25 Running setup.py bdist_wheel for suds-jurko ... done Stored in directory: /root/.cache/pip/wheels/d6/85/48/aa4f43faddfe447352da66e3d98f06e57bdf00ddf9f2990a4e Running setup.py bdist_wheel for vatnumber ... done Stored in directory: /root/.cache/pip/wheels/2a/5f/2e/bef00022b6fb4f86fe83f582582fb7bdcf01dd0e1be309b946 Running setup.py bdist_wheel for vobject ... done Stored in directory: /root/.cache/pip/wheels/73/54/57/49d504d18af6340982b2b7f874b280a7529f7fb1f06e394f75 Running setup.py bdist_wheel for xlrd ... done Stored in directory: /root/.cache/pip/wheels/40/d4/6c/df6603e86ef3183ba2ecc97c5c3f1bf92802d54aa939522235 Running setup.py bdist_wheel for python-stdnum ... done Stored in directory: /root/.cache/pip/wheels/79/91/8e/101088ce96358cf3e5bfea626288506acad3dac31e280e7fa1 Successfully built docutils ebaysdk feedparser jcconv Mako MarkupSafe ofxparse psutil psycogreen pydot Python-Chart python-openid pyusb PyYAML reportlab suds-jurko vatnumber vobject xlrd python-stdnum Failed to build lxml python-ldap Installing collected packages: pytz, Babel, decorator, docutils, lxml, requests, ebaysdk, feedparser, greenlet, gevent, jcconv, MarkupSafe, Jinja2, Mako, funcsigs, pbr, mock, beautifulsoup4, ofxparse, passlib, Pillow, psutil, psycogreen, psycopg2, pyparsing, pydot, pyserial, Python-Chart, python-dateutil, setuptools, python-ldap, python-openid, pyusb, PyYAML, qrcode, reportlab, suds-jurko, python-stdnum, vatnumber, vobject, Werkzeug, XlsxWriter, xlwt, xlrd Running setup.py install for lxml ... error Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-wIowft/lxml/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-ObCU7l-record/install-record.txt --single-version-externally-managed --compile: Building lxml version 3.5.0. Building without Cython. ERROR: /bin/sh: 1: xslt-config: not found ** make sure the development packages of libxml2 and libxslt are installed ** Using build configuration of libxslt 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/lxml copying src/lxml/ElementInclude.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/builder.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/usedoctest.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/doctestcompare.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/sax.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/_elementpath.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/__init__.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/cssselect.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/pyclasslookup.py -> build/lib.linux-x86_64-2.7/lxml creating build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/__init__.py -> build/lib.linux-x86_64-2.7/lxml/includes creating build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/defs.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/builder.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/usedoctest.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/soupparser.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/clean.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/formfill.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/ElementSoup.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/_diffcommand.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/_html5builder.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/__init__.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/html5parser.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/diff.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/_setmixin.py -> build/lib.linux-x86_64-2.7/lxml/html creating build/lib.linux-x86_64-2.7/lxml/isoschematron copying src/lxml/isoschematron/__init__.py -> build/lib.linux-x86_64-2.7/lxml/isoschematron copying src/lxml/lxml.etree.h -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/lxml.etree_api.h -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/relaxng.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/c14n.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/xpath.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/xslt.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/xinclude.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/tree.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/uri.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/schematron.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/config.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/lxml-version.h -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/etree_defs.h -> build/lib.linux-x86_64-2.7/lxml/includes creating build/lib.linux-x86_64-2.7/lxml/isoschematron/resources creating build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/rng copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/rng creating build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl creating build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 running build_ext building 'lxml.etree' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/src creating build/temp.linux-x86_64-2.7/src/lxml x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-HVkOs2/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Isrc/lxml/includes -I/usr/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-2.7/src/lxml/lxml.etree.o -w In file included from src/lxml/lxml.etree.c:323:0: src/lxml/includes/etree_defs.h:14:31: fatal error: libxml/xmlversion.h: Aucun fichier ou dossier de ce type #include "libxml/xmlversion.h" ^ compilation terminated. Compile failed: command 'x86_64-linux-gnu-gcc' failed with exit status 1 cc -I/usr/include/libxml2 -c /tmp/xmlXPathInitVmnEwr.c -o tmp/xmlXPathInitVmnEwr.o /tmp/xmlXPathInitVmnEwr.c:1:26: fatal error: libxml/xpath.h: Aucun fichier ou dossier de ce type #include "libxml/xpath.h" ^ compilation terminated. ********************************************************************************* Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed? ********************************************************************************* error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-wIowft/lxml/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-ObCU7l-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-wIowft/lxml/ Ça installe plein de choses mais il me manques des dépendances. Elles sont listées sur le site [[https://www.odoo.com/documentation/10.0/setup/install.html#setup-install-source|d'Odoo]] : "These are available in -dev or -devel packages for Python, Postgres, libxml2, libxslt, libevent, libsasl2 and libldap2". $ sudo apt-get install libxml2-dev $ sudo apt-get install libxslt-dev $ sudo apt-get install libevent-2.0.5 libevent-dev $ sudo apt-get install libsasl2-2 libsasl2-dev $ sudo apt-get install libldap-2.4.2 libldap2-dev $ sudo apt-get install zlib1g zlib1g-dev $ sudo apt-get install postgresql Mais ça ne me permet toujours pas d'installer les dépendances... odoo@laptop:~/odoo-dev/odoo$ clear && sudo pip install --upgrade -r requirements.txt Requirement already up-to-date: Babel==2.3.4 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 1)) Requirement already up-to-date: decorator==4.0.10 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 2)) Requirement already up-to-date: docutils==0.12 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 3)) Collecting ebaysdk==2.1.4 (from -r requirements.txt (line 4)) Collecting feedparser==5.2.1 (from -r requirements.txt (line 5)) Collecting gevent==1.1.2 (from -r requirements.txt (line 6)) Using cached gevent-1.1.2-cp27-cp27mu-manylinux1_x86_64.whl Collecting greenlet==0.4.10 (from -r requirements.txt (line 7)) Using cached greenlet-0.4.10-cp27-cp27mu-manylinux1_x86_64.whl Collecting jcconv==0.2.3 (from -r requirements.txt (line 8)) Collecting Jinja2==2.8 (from -r requirements.txt (line 9)) Using cached Jinja2-2.8-py2.py3-none-any.whl Collecting lxml==3.5.0 (from -r requirements.txt (line 10)) Using cached lxml-3.5.0.tar.gz Collecting Mako==1.0.4 (from -r requirements.txt (line 11)) Collecting MarkupSafe==0.23 (from -r requirements.txt (line 12)) Collecting mock==2.0.0 (from -r requirements.txt (line 13)) Using cached mock-2.0.0-py2.py3-none-any.whl Collecting ofxparse==0.16 (from -r requirements.txt (line 14)) Collecting passlib==1.6.5 (from -r requirements.txt (line 15)) Using cached passlib-1.6.5-py2.py3-none-any.whl Collecting Pillow==3.4.1 (from -r requirements.txt (line 16)) Using cached Pillow-3.4.1-cp27-cp27mu-manylinux1_x86_64.whl Collecting psutil==4.3.1 (from -r requirements.txt (line 17)) Collecting psycogreen==1.0 (from -r requirements.txt (line 18)) Collecting psycopg2==2.7.1 (from -r requirements.txt (line 19)) Using cached psycopg2-2.7.1-cp27-cp27mu-manylinux1_x86_64.whl Collecting pydot==1.2.3 (from -r requirements.txt (line 20)) Collecting pyparsing==2.1.10 (from -r requirements.txt (line 21)) Using cached pyparsing-2.1.10-py2.py3-none-any.whl Requirement already up-to-date: pyPdf==1.13 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 22)) Collecting pyserial==3.1.1 (from -r requirements.txt (line 23)) Using cached pyserial-3.1.1-py2.py3-none-any.whl Collecting Python-Chart==1.39 (from -r requirements.txt (line 24)) Collecting python-dateutil==2.5.3 (from -r requirements.txt (line 25)) Using cached python_dateutil-2.5.3-py2.py3-none-any.whl Collecting python-ldap==2.4.27 (from -r requirements.txt (line 26)) Collecting python-openid==2.2.5 (from -r requirements.txt (line 27)) Requirement already up-to-date: pytz==2016.7 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 28)) Collecting pyusb==1.0.0 (from -r requirements.txt (line 29)) Collecting PyYAML==3.12 (from -r requirements.txt (line 30)) Collecting qrcode==5.3 (from -r requirements.txt (line 31)) Using cached qrcode-5.3-py2.py3-none-any.whl Collecting reportlab==3.3.0 (from -r requirements.txt (line 32)) Requirement already up-to-date: requests==2.11.1 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 33)) Requirement already up-to-date: six==1.10.0 in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 34)) Collecting suds-jurko==0.6 (from -r requirements.txt (line 35)) Collecting vatnumber==1.2 (from -r requirements.txt (line 36)) Collecting vobject==0.9.3 (from -r requirements.txt (line 37)) Collecting Werkzeug==0.11.11 (from -r requirements.txt (line 38)) Using cached Werkzeug-0.11.11-py2.py3-none-any.whl Requirement already up-to-date: wsgiref==0.1.2 in /usr/lib/python2.7 (from -r requirements.txt (line 39)) Collecting XlsxWriter==0.9.3 (from -r requirements.txt (line 40)) Using cached XlsxWriter-0.9.3-py2.py3-none-any.whl Collecting xlwt==1.1.2 (from -r requirements.txt (line 41)) Using cached xlwt-1.1.2-py2.py3-none-any.whl Collecting xlrd==1.0.0 (from -r requirements.txt (line 42)) Collecting funcsigs>=1; python_version < "3.3" (from mock==2.0.0->-r requirements.txt (line 13)) Using cached funcsigs-1.0.2-py2.py3-none-any.whl Collecting pbr>=0.11 (from mock==2.0.0->-r requirements.txt (line 13)) Using cached pbr-3.1.1-py2.py3-none-any.whl Collecting beautifulsoup4 (from ofxparse==0.16->-r requirements.txt (line 14)) Using cached beautifulsoup4-4.6.0-py2-none-any.whl Collecting setuptools (from python-ldap==2.4.27->-r requirements.txt (line 26)) Downloading setuptools-36.6.0-py2.py3-none-any.whl (481kB) 100% |████████████████████████████████| 481kB 530kB/s Requirement already up-to-date: pip>=1.4.1 in /usr/lib/python2.7/dist-packages (from reportlab==3.3.0->-r requirements.txt (line 32)) Collecting python-stdnum (from vatnumber==1.2->-r requirements.txt (line 36)) Building wheels for collected packages: lxml Running setup.py bdist_wheel for lxml ... error Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-GShWtQ/lxml/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/tmp6dtYt1pip-wheel- --python-tag cp27: Building lxml version 3.5.0. Building without Cython. Using build configuration of libxslt 1.1.29 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/lxml copying src/lxml/ElementInclude.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/builder.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/usedoctest.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/doctestcompare.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/sax.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/_elementpath.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/__init__.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/cssselect.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/pyclasslookup.py -> build/lib.linux-x86_64-2.7/lxml creating build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/__init__.py -> build/lib.linux-x86_64-2.7/lxml/includes creating build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/defs.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/builder.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/usedoctest.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/soupparser.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/clean.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/formfill.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/ElementSoup.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/_diffcommand.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/_html5builder.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/__init__.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/html5parser.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/diff.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/_setmixin.py -> build/lib.linux-x86_64-2.7/lxml/html creating build/lib.linux-x86_64-2.7/lxml/isoschematron copying src/lxml/isoschematron/__init__.py -> build/lib.linux-x86_64-2.7/lxml/isoschematron copying src/lxml/lxml.etree.h -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/lxml.etree_api.h -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/relaxng.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/c14n.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/xpath.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/xslt.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/xinclude.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/tree.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/uri.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/schematron.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/config.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/lxml-version.h -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/etree_defs.h -> build/lib.linux-x86_64-2.7/lxml/includes creating build/lib.linux-x86_64-2.7/lxml/isoschematron/resources creating build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/rng copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/rng creating build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl creating build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 running build_ext building 'lxml.etree' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/src creating build/temp.linux-x86_64-2.7/src/lxml x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-HVkOs2/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/libxml2 -Isrc/lxml/includes -I/usr/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-2.7/src/lxml/lxml.etree.o -w 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 -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-HVkOs2/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-HVkOs2/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/src/lxml/lxml.etree.o -lxslt -lexslt -lxml2 -lz -lm -o build/lib.linux-x86_64-2.7/lxml/etree.so /usr/bin/ld : ne peut trouver -lz collect2: error: ld returned 1 exit status error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- Failed building wheel for lxml Running setup.py clean for lxml Failed to build lxml Installing collected packages: lxml, ebaysdk, feedparser, greenlet, gevent, jcconv, MarkupSafe, Jinja2, Mako, funcsigs, pbr, mock, beautifulsoup4, ofxparse, passlib, Pillow, psutil, psycogreen, psycopg2, pyparsing, pydot, pyserial, Python-Chart, python-dateutil, setuptools, python-ldap, python-openid, pyusb, PyYAML, qrcode, reportlab, suds-jurko, python-stdnum, vatnumber, vobject, Werkzeug, XlsxWriter, xlwt, xlrd Running setup.py install for lxml ... error Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-GShWtQ/lxml/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-TSxQaS-record/install-record.txt --single-version-externally-managed --compile: Building lxml version 3.5.0. Building without Cython. Using build configuration of libxslt 1.1.29 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/lxml copying src/lxml/ElementInclude.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/builder.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/usedoctest.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/doctestcompare.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/sax.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/_elementpath.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/__init__.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/cssselect.py -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/pyclasslookup.py -> build/lib.linux-x86_64-2.7/lxml creating build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/__init__.py -> build/lib.linux-x86_64-2.7/lxml/includes creating build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/defs.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/builder.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/usedoctest.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/soupparser.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/clean.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/formfill.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/ElementSoup.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/_diffcommand.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/_html5builder.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/__init__.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/html5parser.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/diff.py -> build/lib.linux-x86_64-2.7/lxml/html copying src/lxml/html/_setmixin.py -> build/lib.linux-x86_64-2.7/lxml/html creating build/lib.linux-x86_64-2.7/lxml/isoschematron copying src/lxml/isoschematron/__init__.py -> build/lib.linux-x86_64-2.7/lxml/isoschematron copying src/lxml/lxml.etree.h -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/lxml.etree_api.h -> build/lib.linux-x86_64-2.7/lxml copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/relaxng.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/c14n.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/xpath.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/xslt.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/xinclude.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/tree.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/uri.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/schematron.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/config.pxd -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/lxml-version.h -> build/lib.linux-x86_64-2.7/lxml/includes copying src/lxml/includes/etree_defs.h -> build/lib.linux-x86_64-2.7/lxml/includes creating build/lib.linux-x86_64-2.7/lxml/isoschematron/resources creating build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/rng copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/rng creating build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl creating build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 running build_ext building 'lxml.etree' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/src creating build/temp.linux-x86_64-2.7/src/lxml x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-HVkOs2/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/libxml2 -Isrc/lxml/includes -I/usr/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-2.7/src/lxml/lxml.etree.o -w 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 -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-HVkOs2/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-HVkOs2/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/src/lxml/lxml.etree.o -lxslt -lexslt -lxml2 -lz -lm -o build/lib.linux-x86_64-2.7/lxml/etree.so /usr/bin/ld : ne peut trouver -lz collect2: error: ld returned 1 exit status error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-GShWtQ/lxml/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-TSxQaS-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-GShWtQ/lxml/ ===== Problèmes rencontrés ===== * [[https://www.odoo.com/fr_FR/forum/aide-1/question/qwebtemplatenotfound-external-id-not-found-in-the-system-web-login-56032|QWebTemplateNotFound: External ID not found in the system: web.login?]] 1) First of all clear the browser history. 2) run the command "createdb odoo" or you can use your old database also. 3) run the openerp-server using this command ./openerp-server -d odoo -u base * PostgreSQL pas démarré : odoo@laptop:/$ sudo service postgresql start