Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Error executing “pip3 install -r requirements.txt” while installing odoo16, can Someone help me please?

Subscriure's

Get notified when there's activity on this post

This question has been flagged
installrequirements
2 Respostes
16972 Vistes
Avatar
B

kangxin@KANGXINdeMac-mini odoo-16.0 % pip3 install -r requirements.txt 

Ignoring freezegun: markers 'python_version < "3.8"' don't match your environment

Ignoring gevent: markers 'python_version == "3.7"' don't match your environment

Ignoring gevent: markers 'python_version > "3.7" and python_version <= "3.9"' don't match your environment

Ignoring gevent: markers 'python_version > "3.9" and python_version <= "3.10"' don't match your environment

Ignoring greenlet: markers 'python_version == "3.7"' don't match your environment

Ignoring greenlet: markers 'python_version > "3.7" and python_version <= "3.9"' don't match your environment

Ignoring greenlet: markers 'python_version > "3.9" and python_version <= "3.10"' don't match your environment

Ignoring Jinja2: markers 'python_version <= "3.10"' don't match your environment

Ignoring lxml: markers 'python_version <= "3.10"' don't match your environment

Ignoring MarkupSafe: markers 'python_version <= "3.10"' don't match your environment

Ignoring ofxparse: markers 'python_version <= "3.9"' don't match your environment

Ignoring Pillow: markers 'python_version <= "3.10"' don't match your environment

Ignoring psutil: markers 'python_version <= "3.10"' don't match your environment

Ignoring psycopg2: markers 'sys_platform != "win32" and python_version < "3.8"' don't match your environment

Ignoring psycopg2: markers 'sys_platform != "win32" and python_version >= "3.8" and python_version <= "3.10"' don't match your environment

Ignoring psycopg2: markers 'sys_platform == "win32" and python_version < "3.10"' don't match your environment

Ignoring PyPDF2: markers 'python_version <= "3.10"' don't match your environment

Ignoring pyusb: markers 'python_version <= "3.10"' don't match your environment

Ignoring reportlab: markers 'python_version <= "3.10"' don't match your environment

Ignoring Werkzeug: markers 'python_version <= "3.9"' don't match your environment

Ignoring xlrd: markers 'python_version < "3.8"' don't match your environment

Collecting Babel==2.9.1 (from -r requirements.txt (line 3))

  Using cached Babel-2.9.1-py2.py3-none-any.whl (8.8 MB)

Collecting chardet==4.0.0 (from -r requirements.txt (line 4))

  Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)

Collecting cryptography==3.4.8 (from -r requirements.txt (line 5))

  Using cached cryptography-3.4.8-cp36-abi3-macosx_11_0_arm64.whl (1.9 MB)

Collecting decorator==4.4.2 (from -r requirements.txt (line 6))

  Using cached decorator-4.4.2-py2.py3-none-any.whl (9.2 kB)

Collecting docutils==0.16 (from -r requirements.txt (line 7))

  Using cached docutils-0.16-py2.py3-none-any.whl (548 kB)

Collecting ebaysdk==2.1.5 (from -r requirements.txt (line 8))

  Using cached ebaysdk-2.1.5.tar.gz (42 kB)

  Preparing metadata (setup.py) ... done

Collecting freezegun==0.3.15 (from -r requirements.txt (line 10))

  Using cached freezegun-0.3.15-py2.py3-none-any.whl (14 kB)

Collecting gevent==22.10.2 (from -r requirements.txt (line 14))

  Using cached gevent-22.10.2-cp311-cp311-macosx_10_9_universal2.whl (2.9 MB)

Collecting greenlet==2.0.2 (from -r requirements.txt (line 18))

  Using cached greenlet-2.0.2-cp311-cp311-macosx_10_9_universal2.whl (243 kB)

Collecting idna==2.10 (from -r requirements.txt (line 19))

  Using cached idna-2.10-py2.py3-none-any.whl (58 kB)

Collecting Jinja2==3.1.2 (from -r requirements.txt (line 21))

  Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)

Collecting libsass==0.20.1 (from -r requirements.txt (line 22))

  Using cached libsass-0.20.1.tar.gz (316 kB)

  Preparing metadata (setup.py) ... done

Collecting lxml==4.9.2 (from -r requirements.txt (line 24))

  Using cached lxml-4.9.2.tar.gz (3.7 MB)

  Preparing metadata (setup.py) ... done

Collecting MarkupSafe==2.1.2 (from -r requirements.txt (line 26))

  Using cached MarkupSafe-2.1.2-cp311-cp311-macosx_10_9_universal2.whl (17 kB)

Collecting num2words==0.5.9 (from -r requirements.txt (line 27))

  Using cached num2words-0.5.9-py3-none-any.whl (99 kB)

Collecting ofxparse==0.21 (from -r requirements.txt (line 29))

  Using cached ofxparse-0.21.tar.gz (53 kB)

  Preparing metadata (setup.py) ... done

Collecting passlib==1.7.4 (from -r requirements.txt (line 30))

  Using cached passlib-1.7.4-py2.py3-none-any.whl (525 kB)

Collecting Pillow==9.4.0 (from -r requirements.txt (line 32))

  Using cached Pillow-9.4.0-cp311-cp311-macosx_11_0_arm64.whl (3.0 MB)

Collecting polib==1.1.0 (from -r requirements.txt (line 33))

  Using cached polib-1.1.0-py2.py3-none-any.whl (25 kB)

Collecting psutil==5.9.4 (from -r requirements.txt (line 35))

  Using cached psutil-5.9.4-cp38-abi3-macosx_11_0_arm64.whl (244 kB)

Collecting psycopg2==2.9.5 (from -r requirements.txt (line 39))

  Using cached psycopg2-2.9.5.tar.gz (384 kB)

  Preparing metadata (setup.py) ... error

  error: subprocess-exited-with-error

  

  × python setup.py egg_info did not run successfully.

  │ exit code: 1

  ╰─> [25 lines of output]

      /opt/homebrew/lib/python3.11/site-packages/setuptools/config/setupcfg.py:516: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.

        warnings.warn(msg, warning_class)

      running egg_info

      creating /private/var/folders/0s/hdh7_cdx25dg12m314xdvx4c0000gn/T/pip-pip-egg-info-nckp2gk2/psycopg2.egg-info

      writing /private/var/folders/0s/hdh7_cdx25dg12m314xdvx4c0000gn/T/pip-pip-egg-info-nckp2gk2/psycopg2.egg-info/PKG-INFO

      writing dependency_links to /private/var/folders/0s/hdh7_cdx25dg12m314xdvx4c0000gn/T/pip-pip-egg-info-nckp2gk2/psycopg2.egg-info/dependency_links.txt

      writing top-level names to /private/var/folders/0s/hdh7_cdx25dg12m314xdvx4c0000gn/T/pip-pip-egg-info-nckp2gk2/psycopg2.egg-info/top_level.txt

      writing manifest file '/private/var/folders/0s/hdh7_cdx25dg12m314xdvx4c0000gn/T/pip-pip-egg-info-nckp2gk2/psycopg2.egg-info/SOURCES.txt'

      

      Error: pg_config executable not found.

      

      pg_config is required to build psycopg2 from source.  Please add the directory

      containing pg_config to the $PATH or specify the full executable path with the

      option:

      

          python setup.py build_ext --pg-config /path/to/pg_config build ...

      

      or with the pg_config option in 'setup.cfg'.

      

      If you prefer to avoid building psycopg2 from source, please install the PyPI

      'psycopg2-binary' package instead.

      

      For further information please check the 'doc/src/install.rst' file (also at

      ).

      

      [end of output]

  

  note: This error originates from a subprocess, and is likely not a problem with pip.

error: metadata-generation-failed


× Encountered error while generating package metadata.

╰─> See above for output.


note: This is an issue with the package mentioned above, not pip.

hint: See above for details.

1
Avatar
Descartar
Avatar
Bhavin Patel
Best Answer

Hi, Use correct libpng library and Install Dependencies.

sudo apt-get install git python3 python3-pip python3-cffi build-essential wget python3-dev python3-venv python3-wheel libxslt-dev libzip-dev libldap2-dev libsasl2-dev python3-setuptools node-less libpng-dev libjpeg-dev gdebi -y

echo -e "\n---- Install python packages/requirements ----"

sudo -H pip3 install -r https://github.com/odoo/odoo/blob/17.0/requirements.txt




0
Avatar
Descartar
Avatar
Waleed Ali Mohsen
Best Answer

Hello,

Please install libpq-dev using the below command before install the requirements.

sudo apt install libpq-dev


0
Avatar
Descartar
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
ممكن حل ل Error التالي عند تنفيذ الامر pip install -r requirements.txt اثناء تثبيت odoo17
requirements
Avatar
Avatar
1
de maig 24
2687
How to configure on_premise - Test databases
install
Avatar
Avatar
1
de maig 24
4108
how to install a community app
install
Avatar
Avatar
2
de set. 16
36472
How to stay in module page after installing the module?
install
Avatar
Avatar
2
de març 15
6949
ERROR dataup openerp.netsvc: The model "res.partner.address" specifies an unexisting parent class "res.partner.address" You may
install
Avatar
Avatar
Avatar
2
de març 15
6381
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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