Skip to Content
Odoo Menu
  • Zaloguj się
  • Wypróbuj za darmo
  • Aplikacje
    Finanse
    • Księgowość
    • Fakturowanie
    • Wydatki
    • Arkusz kalkulacyjny (BI)
    • Dokumenty
    • Podpisy
    Sprzedaż
    • CRM
    • Sprzedaż
    • PoS Sklep
    • PoS Restauracja
    • Subskrypcje
    • Wypożyczalnia
    Strony Internetowe
    • Kreator Stron Internetowych
    • eCommerce
    • Blog
    • Forum
    • Czat na Żywo
    • eLearning
    Łańcuch dostaw
    • Magazyn
    • Produkcja
    • PLM
    • Zakupy
    • Konserwacja
    • Jakość
    Zasoby Ludzkie
    • Pracownicy
    • Rekrutacja
    • Urlopy
    • Ocena pracy
    • Polecenia Pracownicze
    • Flota
    Marketing
    • Marketing Społecznościowy
    • E-mail Marketing
    • SMS Marketing
    • Wydarzenia
    • Automatyzacja Marketingu
    • Ankiety
    Usługi
    • Projekt
    • Ewidencja czasu pracy
    • Usługi Terenowe
    • Helpdesk
    • Planowanie
    • Spotkania
    Produktywność
    • Dyskusje
    • Zatwierdzenia
    • IoT
    • VoIP
    • Baza wiedzy
    • WhatsApp
    Aplikacje trzecich stron Studio Odoo Odoo Cloud Platform
  • Branże
    Sprzedaż detaliczna
    • Księgarnia
    • Sklep odzieżowy
    • Sklep meblowy
    • Sklep spożywczy
    • Sklep z narzędziami
    • Sklep z zabawkami
    Żywienie i hotelarstwo
    • Bar i Pub
    • Restauracja
    • Fast Food
    • Pensjonat
    • Dystrybutor napojów
    • Hotel
    Agencja nieruchomości
    • Agencja nieruchomości
    • Biuro architektoniczne
    • Budowa
    • Zarządzanie nieruchomościami
    • Ogrodnictwo
    • Stowarzyszenie właścicieli nieruchomości
    Doradztwo
    • Biuro księgowe
    • Partner Odoo
    • Agencja marketingowa
    • Kancelaria prawna
    • Agencja rekrutacyjna
    • Audyt i certyfikacja
    Produkcja
    • Tekstylia
    • Metal
    • Meble
    • Jedzenie
    • Browar
    • Prezenty firmowe
    Zdrowie & Fitness
    • Klub sportowy
    • Salon optyczny
    • Centrum fitness
    • Praktycy Wellness
    • Apteka
    • Salon fryzjerski
    Transakcje
    • Złota rączka
    • Wsparcie Sprzętu IT
    • Systemy energii słonecznej
    • Szewc
    • Firma sprzątająca
    • Usługi HVAC
    Inne
    • Organizacja non-profit
    • Agencja Środowiskowa
    • Wynajem billboardów
    • Fotografia
    • Leasing rowerów
    • Sprzedawca oprogramowania
    Przeglądaj wszystkie branże
  • Community
    Ucz się
    • Samouczki
    • Dokumentacja
    • Certyfikacje
    • Szkolenie
    • Blog
    • Podcast
    Pomóż w nauce innym
    • Program Edukacyjny
    • Scale Up! Gra biznesowa
    • Odwiedź Odoo
    Skorzystaj z oprogramowania
    • Pobierz
    • Porównaj edycje
    • Wydania
    Współpracuj
    • Github
    • Forum
    • Wydarzenia
    • Tłumaczenia
    • Zostań partnerem
    • Usługi dla partnerów
    • Zarejestruj swoją firmę rachunkową
    Skorzystaj z usług
    • Znajdź partnera
    • Znajdź księgowego
    • Spotkaj się z doradcą
    • Usługi wdrożenia
    • Opinie klientów
    • Wsparcie
    • Aktualizacje
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Zaplanuj demo
  • Cennik
  • Pomoc

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

  • CRM
  • e-Commerce
  • Księgowość
  • Zapasy
  • PoS
  • Projekt
  • MRP
All apps
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Pomoc

Errors while instalation Odoo 12 + Ubunty 16.04

Zaprenumeruj

Otrzymaj powiadomienie o aktywności w tym poście

To pytanie dostało ostrzeżenie
installationubuntuodoo12
1 Odpowiedz
22891 Widoki
Awatar
Natalia Barinova


i try to install odoo 12 using cookbook. When i perform this command

$ sudo apt-get install -y gcc python3.5-dev libxml2-dev \libxslt1-dev libevent-dev libsasl2-dev libssl1.0-dev libldap2-dev \libpq-dev libpng-dev libjpeg-dev

i get

notice, instead «libpng-dev» chase «libpng12-dev»E: impossible to find package libssl1.0-devE:  impossible to find any package with template «libssl1.0-dev»E: impossible to find package with regular sentence «libssl1.0-dev»​

i skiped these massages

then i created base in postgresql

and connected to git

then i got clone

and then i perform  pip3 install -r requirements.txt

and get errors:

Ignoring gevent: markers 'sys_platform != "win32" and python_version >= "3.7"' don't match your environment
Ignoring greenlet: markers 'python_version >= "3.7"' don't match your environment
Ignoring lxml: markers 'sys_platform != "win32" and python_version >= "3.7"' don't match your environment
Ignoring lxml: markers 'sys_platform == "win32"' don't match your environment
Ignoring pypiwin32: markers 'sys_platform == "win32"' don't match your environment
Collecting Babel==2.3.4 (from -r requirements.txt (line 1))
........

..........

Collecting soupsieve>=1.2 (from beautifulsoup4->ofxparse==0.16->-r requirements.txt (line 21))
Downloading https://files.pythonhosted.org/packages/b9/a5/7ea40d0f8676bde6e464a6435a48bc5db09b1a8f4f06d41dd997b8f3c616/soupsieve-1.9.1-py2.py3-none-any.whl
Building wheels for collected packages: ebaysdk, feedparser, html2text, Mako, MarkupSafe, ofxparse, psutil, pydot, pyldap, PyPDF2, pyusb, reportlab, suds-jurko, vatnumber, vobject, olefile
Building wheel for ebaysdk (setup.py) ... done
Stored in directory: /home/pena/.cache/pip/wheels/a5/76/f4/03967ae85aea44c3d93d8cbcc29f5c37da8e6c3d30694adb7c
Building wheel for feedparser (setup.py) ... done
Stored in directory: /home/pena/.cache/pip/wheels/8c/69/b7/f52763c41c5471df57703a0ef718a32a5e81ee35dcf6d4f97f
Building wheel for html2text (setup.py) ... done
Stored in directory: /home/pena/.cache/pip/wheels/eb/79/cc/a25e320cadfd6a680a05666e56e5591f0fac8d5b1c6d7a0db7
Building wheel for Mako (setup.py) ... done
Stored in directory: /home/pena/.cache/pip/wheels/2d/e1/9d/3269a224fb166136755a0279c1e0c434738be1e02bedd37415
Building wheel for MarkupSafe (setup.py) ... done
Stored in directory: /home/pena/.cache/pip/wheels/28/de/65/f28b426d990edb591113e1549c8a0f09034e5958e440629306
Building wheel for ofxparse (setup.py) ... done
Stored in directory: /home/pena/.cache/pip/wheels/25/82/73/11275e0a45f587792e2a334a0e9c81a5bd35fd4a825d1f192a
Building wheel for psutil (setup.py) ... error
ERROR: Complete output from command /home/pena/odoo-12.0/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-5hqq89qw/psutil/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/pip-wheel-8ogfhljt --python-tag cp35:
ERROR: running bdist_wheel
running build
running build_py
creating build

....

.....

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for psutil
Running setup.py clean for psutil
Building wheel for pydot (setup.py) ... done
Stored in directory: /home/pena/.cache/pip/wheels/59/7f/14/5a40a9ec16d3c2e4106498e7fc9f1fd94f4eba38b484cad72a
Building wheel for pyldap (setup.py) ... error
ERROR: Complete output from command /home/pena/odoo-12.0/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-5hqq89qw/pyldap/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/pip-wheel-nkax86b0 --python-tag cp35:
ERROR: defines: HAVE_SASL HAVE_TLS HAVE_LIBLDAP_R
extra_compile_args:
extra_objects:
include_dirs: /usr/include /usr/include/sasl /usr/loca

...

...

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for pyldap
Running setup.py clean for pyldap
Building wheel for PyPDF2 (setup.py) ... done
Stored in directory: /home/pena/.cache/pip/wheels/53/84/19/35bc977c8bf5f0c23a8a011aa958acd4da4bbd7a229315c1b7
Building wheel for pyusb (setup.py) ... done
Stored in directory: /home/pena/.cache/pip/wheels/a6/69/c7/258e736ee9bdb4553bd9701424b259436b979cf96201af612f
Building wheel for reportlab (setup.py) ... error
ERROR: Complete output from command /home/pena/odoo-12.0/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-5hqq89qw/reportlab/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/pip-wheel-xjd253od --python-tag cp35:
ERROR: ################################################
#Attempting install of _rl_accel & pyHnj
#extensions from '/tmp/pip-install-5hqq89qw/reportlab/src/rl_addons/rl_accel'
################################################
################################################
#Attempting install of _renderPM
#extensions from '/tmp/pip-install-5hqq89qw/reportlab/src/rl_addons/renderPM'
will use package libart 2.3.12
# installing without freetype no ttf, sorry!
# You need to install a static library version of the freetype2 software
# If you need truetype support in renderPM
# You may need to edit setup.cfg (win32)
# or edit this file to access the library if it is installed
################################################
Standard T1 font curves already downloaded
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.5
creating build/lib.linux-x86_64-3.5/reportlab
copying src/reportlab/__init__.py -> build/lib.linux-x86_64-3.5/reportlab
copying src/reportlab/rl_config.py -> build/lib.linux-x86_64-3.5/reportlab
copying src/reportlab/rl_settings.py -> build/lib.linux-x86_64-3.5/reportlab
creating build/lib.linux-x86_64-3.5/reportlab/graphics

......  

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for reportlab
Running setup.py clean for reportlab
Building wheel for suds-jurko (setup.py) ... done
Stored in directory: /home/pena/.cache/pip/wheels/12/68/53/d3902c054e32115da1d45bac442a547a071a86a65db4d77027
Building wheel for vatnumber (setup.py) ... done
Stored in directory: /home/pena/.cache/pip/wheels/cb/c0/7d/fe241b8e1fbe3e8a9037f535aba9487ee23070534b34234ef9
Building wheel for vobject (setup.py) ... done
Stored in directory: /home/pena/.cache/pip/wheels/55/ad/70/63facf0491e0af25842c9afe72489fcb8dd902520f4308aa02
Building wheel for olefile (setup.py) ... done
Stored in directory: /home/pena/.cache/pip/wheels/4b/f4/11/bc4166107c27f07fd7bba707ffcb439619197638a1ac986df3
Successfully built ebaysdk feedparser html2text Mako MarkupSafe ofxparse pydot PyPDF2 pyusb suds-jurko vatnumber vobject olefile
Failed to build psutil pyldap reportlab
Installing collected packages: pytz, Babel, chardet, decorator, docutils, lxml, urllib3, certifi, idna, requests, ebaysdk, feedparser, greenlet, gevent, html2text, MarkupSafe, Jinja2, six, libsass, Mako, pbr, mock, num2words, soupsieve, beautifulsoup4, ofxparse, passlib, olefile, Pillow, psutil, psycopg2, pyparsing, pydot, pyldap, PyPDF2, pyserial, python-dateutil, pyusb, qrcode, reportlab, suds-jurko, python-stdnum, vatnumber, vobject, Werkzeug, XlsxWriter, xlwt, xlrd
Running setup.py install for psutil ... error
ERROR: Complete output from command /home/pena/odoo-12.0/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-5hqq89qw/psutil/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-record-ufih_dri/install-record.txt --single-version-externally-managed --compile --install-headers /home/pena/odoo-12.0/include/site/python3.5/psutil:
ERROR: running install
running build
running build_py
creating build

....

compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Command "/home/pena/odoo-12.0/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-5hqq89qw/psutil/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-record-ufih_dri/install-record.txt --single-version-externally-managed --compile --install-headers /home/pena/odoo-12.0/include/site/python3.5/psutil" failed with error code 1 in /tmp/pip-install-5hqq89qw/psutil/

Could you help me please


0
Awatar
Odrzuć
Ermin Trevisan

Please refer to the exact source of your installation method. And you should use Ubuntu 18.04 and not the outdated 16.04.

Natalia Barinova
Autor

i use cookbook and recommendation from this book.

To install Odoo from a source, you need to follow these steps: 1. Run the following commands to install the main dependencies:

$ sudo apt-get update

$ sudo apt-get install -y git python3.5 postgresql nano

virtualenv xz-utils wget fontconfig libfreetype6 libx11-6

libxext6 libxrender1 xfonts-75dpi

Odoo v12 has moved from less to scss for stylesheet

preprocessing. Consequently, if you are using <v12, then you need

to install node-less node-clean-css in order to get the correct

stylesheets.

Installing the Odoo Development Environment Chapter 1

[ 15 ]

2. Download and install wkhtmltopdf:

$ wget -O wkhtmltox.tar.xz \

https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0

.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz

$ tar xvf wkhtmltox.tar.xz

$ sudo mv wkhtmltox/lib/* /usr/local/lib/

$ sudo mv wkhtmltox/bin/* /usr/local/bin/

$ sudo mv wkhtmltox/share/man/man1 /usr/local/share/man/

3. Now, use the following code to install the build dependencies:

$ sudo apt-get install -y gcc python3.5-dev libxml2-dev \

libxslt1-dev libevent-dev libsasl2-dev libssl1.0-dev libldap2-

dev \

libpq-dev libpng-dev libjpeg-dev

4. Configure PostgreSQL:

$ sudo -u postgres createuser --createdb $(whoami)

$ createdb $(whoami)

5. Configure git:

$ git config --global user.name "Your Name"

$ git config --global user.email youremail@example.com

6. Clone the Odoo code base:

$ mkdir ~/odoo-dev

$ cd ~/odoo-dev

$ git clone -b 12.0 --single-branch\

https://github.com/odoo/odoo.git

$ cd odoo

7. Create an odoo-12.0 virtual environment and activate it:

$ virtualenv -p python3 ~/odoo-12.0

$ source ~/odoo-12.0/bin/activate

8. Install the Python dependencies of Odoo in virtualenv:

$ pip3 install -r requirements.txt - here i get errors

Awatar
Eric CATTELIN
Najlepsza odpowiedź

Hello,

I'd the same problem with new install on a debian Buster (python3.7).

To solve :

Replace libssl1.0-dev with libssl-dev and python3.5-dev with python3.7-dev.

To have no errors with 'pip3 install -r requirements.txt' with REP517, install 'build-essential' package before create 'virualenv'

Regards

0
Awatar
Odrzuć
Podoba Ci się ta dyskusja? Dołącz do niej!

Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!

Zarejestruj się
Powiązane posty Odpowiedzi Widoki Czynność
Installing odoo 12 on ubuntu LTS 22.04
installation ubuntu
Awatar
Awatar
Awatar
2
cze 22
8937
Odoo Installation Rozwiązane
ubuntu odoo12
Awatar
Awatar
Awatar
Awatar
3
sty 24
33767
OpenERP path on Ubuntu installation Rozwiązane
installation ubuntu
Awatar
Awatar
Awatar
Awatar
Awatar
7
gru 23
46496
how to install sassc? Rozwiązane
installation odoo12
Awatar
Awatar
Awatar
Awatar
Awatar
12
lip 24
80919
Certificate Error Rozwiązane
ubuntu odoo12
Awatar
Awatar
Awatar
4
sty 24
8145
Społeczność
  • Samouczki
  • Dokumentacja
  • Forum
Open Source
  • Pobierz
  • Github
  • Runbot
  • Tłumaczenia
Usługi
  • Hosting Odoo.sh
  • Wsparcie
  • Aktualizacja
  • Indywidualne rozwiązania
  • Edukacja
  • Znajdź księgowego
  • Znajdź partnera
  • Zostań partnerem
O nas
  • Nasza firma
  • Zasoby marki
  • Skontaktuj się z nami
  • Oferty pracy
  • Wydarzenia
  • Podcast
  • Blog
  • Klienci
  • Informacje prawne • Prywatność
  • Bezpieczeństwo Odoo
الْعَرَبيّة 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 to pakiet aplikacji biznesowych typu open source, które zaspokoją wszystkie potrzeby Twojej firmy: CRM, eCommerce, księgowość, inwentaryzacja, punkt sprzedaży, zarządzanie projektami itp.

Unikalną wartością Odoo jest to, że jest jednocześnie bardzo łatwe w użyciu i w pełni zintegrowane.

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