Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Restauration & Hôtellerie
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brasserie
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Commerce
    • Bricoleur
    • Matériel informatique & support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Parcourir toutes les industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services pour partenaires
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

pip install -r requirements.txt error

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
odoo10
1 Répondre
45042 Vues
Avatar
patrick-peng

ubuntu 16.04 ,  

sudo apt-get install -y python-dev libxml2-dev libxml2 libxslt-dev libpq-dev libldap2-dev libsasl2-dev libevent-dev  #安装开发相关的库
sudo apt-get install -y libjpeg8-dev libpng12-dev libfreetype6-dev zlib1g-dev libwebp-dev libtiff5-dev libopenjpeg-dev libzip-dev  #安装Pillow依赖包
sudo apt-get install -y python-babel python-dateutil python-decorator python-docutils python-feedparser python-imaging
sudo apt-get install -y python-jinja2 python-ldap python-libxslt1 python-lxml python-mako python-mock python-openid
sudo apt-get install -y python-passlib python-psutil python-psycopg2 python-pychart python-pydot python-pyparsing
sudo apt-get install -y python-pypdf python-reportlab python-requests python-suds python-tz python-vatnumber python-vobject
sudo apt-get install -y python-werkzeug python-xlsxwriter python-xlwt python-yaml python-gevent
sudo apt-get install -y python-pip #安装pip,如果系统未安装


x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DPSUTIL_VERSION=431 -I/usr/include/python2.7 -c psutil/_psutil_linux.c -o build/temp.linux-x86_64-2.7/psutil/_psutil_linux.o

  x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/psutil/_psutil_linux.o -o build/lib.linux-x86_64-2.7/psutil/_psutil_linux.so

  /usr/local/bin/ld: this linker was not configured to use sysroots

  collect2: error: ld returned 1 exit status

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


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

  Failed building wheel for psutil

  Running setup.py clean for psutil

  Running setup.py bdist_wheel for psycopg2 ... error

  Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-c23zWr/psycopg2/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/tmpYWaNKdpip-wheel- --python-tag cp27:

  running bdist_wheel

  running build


``````


/usr/local/bin/ld: this linker was not configured to use sysroots

  collect2: error: ld returned 1 exit status

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


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

  Failed building wheel for psycopg2

  Running setup.py clean for psycopg2

  Running setup.py bdist_wheel for python-ldap ... error


Failed building wheel for python-ldap


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 -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,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -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/local/bin/ld: this linker was not configured to use sysroots

    collect2: error: ld returned 1 exit status

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


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

  Rolling back uninstall of lxml Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-c23zWr/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-9AcfMG-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-c23zWr/lxml/



pip list 

root@vagrant:/home/good# pip list DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.

Babel (2.3.4)

beautifulsoup4 (4.4.1)

bzr (2.7.0)

Chameleon (2.24)

chardet (2.3.0)

configobj (5.0.6)

cryptography (1.2.3)

Cython (0.25.2)

decorator (4.0.10)

distribute (0.6.14)

docutils (0.12)

docxtpl (0.3.5)

ecdsa (0.13)

enum34 (1.1.2)

feedparser (5.1.3)

funcsigs (0.4)

gevent (1.1.0)

greenlet (0.4.9)

gyp (0.1)

html5lib (0.999)

httplib2 (0.9.1)

idna (2.0)

ipaddress (1.0.16)

Jinja2 (2.8)

keyring (7.3)

launchpadlib (1.10.3)

lazr.restfulclient (0.13.4)

lazr.uri (1.0.3)

linecache2 (1.0.0)

lptools (0.2.0)

lxml (3.7.3)

Mako (1.0.3)

MarkupSafe (0.23)

mock (1.3.0)

ndg-httpsclient (0.4.0)

numpy (1.12.1)

oauth (1.0.1)

odoo (10.0.post20170601)

ofxparse (0.16)

paramiko (1.16.0)

passlib (1.6.5)

pbr (1.8.0)

pdfkit (0.6.1)

pdftools (0.37)

Pillow (3.1.2)

pip (9.0.1)

psutil (3.4.2)

psycogreen (1.0)

psycopg2 (2.6.1)

pyasn1 (0.1.9)

PyChart (1.39)

pycrypto (2.6.1)

pydot (1.0.29)

Pygments (2.1)

pygobject (3.20.0)

pygpgme (0.3)

pyinotify (0.9.6)

pyOpenSSL (0.15.1)

pyparsing (2.0.3)

pyPdf (1.13)

Pyrex (0.9.8.5)

pyserial (3.0.1)

pystan (2.15.0.1)

python-dateutil (2.4.2)

python-docx (0.8.6)

python-ldap (2.4.22)

Python-OOXML (0.13)

python-openid (2.2.5)

python-stdnum (1.2)

pytz (2016.7)

pyusb (1.0.0b2)

PyWebDAV (0.9.8)

pyxdg (0.25)

PyYAML (3.11)

reportlab (3.3.0)

requests (2.11.1)

roman (2.0.0)

SecretStorage (2.1.3)

setuptools (36.0.0)

simplejson (3.8.1)

six (1.10.0)

suds-jurko (0.7.dev0)

traceback2 (1.4.0)

unittest2 (1.1.0)

urllib3 (1.13.1)

uTidylib (0.2)

vatnumber (1.2)

vobject (0.8.1rc0)

wadllib (1.3.2)

Werkzeug (0.10.4)

wheel (0.29.0)

xlrd (1.0.0)

XlsxWriter (0.7.3)

xlutils (2.0.0)

xlwt (0.7.5)

zope.interface (4.1.3)

ZSI (2.1a1)


Lxml has been installed, but can not pass 。

0
Avatar
Ignorer
Avatar
Chandran N Nepolean
Meilleure réponse

Hi Patrick,

It seems installing order is not proper. Please uninstall everything and install it again.  I hope that will solve your problem.

Thanks

Chandran nepolean

-7
Avatar
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
Create schedule action For sending emails
odoo10
Avatar
Avatar
Avatar
2
juil. 25
6905
How to send messages that are not shown in chatter? Résolu
odoo10
Avatar
Avatar
Avatar
2
oct. 25
9041
How to ORDER BY? [Odoo 10] Résolu
odoo10
Avatar
Avatar
2
nov. 24
29959
Dynamic domain functionality - possible to change domain of a field in another model with onchange? (Odoo 10) Résolu
odoo10
Avatar
Avatar
Avatar
2
mai 24
8584
Change state of other module
odoo10
Avatar
Avatar
Avatar
Avatar
3
mars 24
8003
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now