Skip to Content
Odoo Menu
  • Prisijungti
  • Išbandykite nemokamai
  • Programėlės
    Finansai
    • Apskaita
    • Pateikimas apmokėjimui
    • Sąnaudos
    • Skaičiuoklė (BI)
    • Dokumentai
    • Pasirašymas
    Pardavimai
    • CRM
    • Pardavimai
    • Kasų sistema - Parduotuvė
    • Kasų sistema - Restoranas
    • Prenumeratos
    • Nuoma
    Svetainės
    • Svetainių kūrėjimo įrankis
    • El. Prekyba
    • Internetinis Tinklaraštis
    • Forumas
    • Tiesioginis pokalbis
    • eMokymasis
    Tiekimo grandinė
    • Atsarga
    • Gamyba
    • PLM
    • Įsigijimai
    • Priežiūra
    • Kokybė
    Žmogaus ištekliai
    • Darbuotojai
    • Įdarbinimas
    • Atostogos
    • Įvertinimai
    • Rekomendacijos
    • Transporto priemonės
    Rinkodara
    • Socialinė rinkodara
    • Rinkodara el. paštu
    • SMS rinkodara
    • Renginiai
    • Rinkodaros automatizavimas
    • Apklausos
    Paslaugos
    • Projektas
    • Darbo laiko žiniaraščiai
    • Priežiūros tarnyba
    • Pagalbos tarnyba
    • Planavimas
    • Rezervacijos
    Produktyvumas
    • Diskucija
    • Patvirtinimai
    • IoT
    • VoIP
    • Žinių biblioteka
    • WhatsApp
    Trečiųjų šalių programos Odoo Studija Odoo debesijos platforma
  • Pramonės šakos
    Mažmeninė prekyba
    • Knygynas
    • Drabužių parduotuvė
    • Baldų parduotuvė
    • Maisto prekių parduotuvė
    • Techninės įrangos parduotuvė
    • Žaislų parduotuvė
    Food & Hospitality
    • Barai ir pub'ai
    • Restoranas
    • Greitasis maistas
    • Guest House
    • Gėrimų platintojas
    • Hotel
    Nekilnojamasis turtas
    • Real Estate Agency
    • Architektūros įmonė
    • Konstrukcija
    • Estate Managament
    • Sodininkauti
    • Turto savininkų asociacija
    Konsultavimas
    • Accounting Firm
    • Odoo Partneris
    • Marketing Agency
    • Teisinė firma
    • Talentų paieška
    • Auditai & sertifikavimas
    Gamyba
    • Textile
    • Metal
    • Furnitures
    • Maistas
    • Brewery
    • Įmonių dovanos
    Sveikata & Fitnesas
    • Sporto klubas
    • Akinių parduotuvė
    • Fitneso Centras
    • Sveikatos praktikai
    • Vaistinė
    • Kirpėjas
    Trades
    • Handyman
    • IT įranga ir palaikymas
    • Saulės energijos sistemos
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Kiti
    • Nonprofit Organization
    • Aplinkos agentūra
    • Reklaminių stendų nuoma
    • Fotografavimas
    • Dviračių nuoma
    • Programinės įrangos perpardavėjas
    Browse all Industries
  • Bendrija
    Mokykitės
    • Mokomosios medžiagos
    • Dokumentacija
    • Sertifikatai
    • Mokymai
    • Internetinis Tinklaraštis
    • Tinklalaidės
    Skatinkite švietinimą
    • Švietimo programa
    • Scale Up! Verslo žaidimas
    • Aplankykite Odoo
    Gaukite programinę įrangą
    • Atsisiųsti
    • Palyginkite versijas
    • Leidimai
    Bendradarbiauti
    • Github
    • Forumas
    • Renginiai
    • Vertimai
    • Tapkite partneriu
    • Services for Partners
    • Registruokite jūsų apskaitos įmonę
    Gaukite paslaugas
    • Susiraskite partnerį
    • Susirask buhalterį
    • Susitikti su konsultantu
    • Diegimo paslaugos
    • Klientų rekomendavimas
    • Palaikymas
    • Atnaujinimai
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Gaukite demo
  • Kainodara
  • Pagalba

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

  • CRM
  • e-Commerce
  • Apskaita
  • Atsarga
  • PoS
  • Projektas
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Žymos (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Žymos (View all)
odoo accounting v14 pos v15
About this forum
Pagalba

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

Prenumeruoti

Get notified when there's activity on this post

This question has been flagged
installrequirements
2 Replies
17000 Rodiniai
Portretas
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
Portretas
Atmesti
Portretas
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
Portretas
Atmesti
Portretas
Waleed Ali Mohsen
Best Answer

Hello,

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

sudo apt install libpq-dev


0
Portretas
Atmesti
Enjoying the discussion? Don't just read, join in!

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

Registracija
Related Posts Replies Rodiniai Veikla
ممكن حل ل Error التالي عند تنفيذ الامر pip install -r requirements.txt اثناء تثبيت odoo17
requirements
Portretas
Portretas
1
geg. 24
2688
How to configure on_premise - Test databases
install
Portretas
Portretas
1
geg. 24
4122
how to install a community app
install
Portretas
Portretas
2
rugs. 16
36474
How to stay in module page after installing the module?
install
Portretas
Portretas
2
kov. 15
6957
ERROR dataup openerp.netsvc: The model "res.partner.address" specifies an unexisting parent class "res.partner.address" You may
install
Portretas
Portretas
Portretas
2
kov. 15
6381
Bendrija
  • Mokomosios medžiagos
  • Dokumentacija
  • Forumas
Atvirasis kodas
  • Atsisiųsti
  • Github
  • Runbot
  • Vertimai
Paslaugos
  • Odoo.sh talpinimas
  • Palaikymas
  • Atnaujinti
  • Pritaikytas programavimo kūrimas
  • Švietimas
  • Susirask buhalterį
  • Susiraskite partnerį
  • Tapkite partneriu
Apie mus
  • Mūsų įmonė
  • Prekės ženklo turtas
  • Susisiekite su mumis
  • Darbo pasiūlymai
  • Renginiai
  • Tinklalaidės
  • Internetinis Tinklaraštis
  • Klientai
  • Teisinis • Privatumas
  • Saugumas
الْعَرَبيّة 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 yra atvirojo kodo verslo programų rinkinys, kuris apima visas įmonės poreikius: CRM, El. Prekybą, Apskaitą, Atsargų, Kasų sistemą, Projektų valdymą ir kt.

Unikali Odoo vertės pasiūla – būti tuo pačiu metu labai lengvai naudojama ir visiškai integruota sistema.

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