Bỏ qua để đến Nội dung
Odoo Menu
  • Đăng nhập
  • Dùng thử miễn phí
  • Ứng dụng
    Tài chính
    • Kế toán
    • Hóa đơn
    • Chi phí
    • Bảng tính (BI)
    • Tài liệu
    • Ký tên
    Bán hàng
    • CRM
    • Bán hàng
    • POS Cửa hàng
    • POS Nhà hàng
    • Đăng ký
    • Cho thuê
    Trang web
    • Trình tạo trang web
    • Thương mại điện tử
    • Blog
    • Diễn đàn
    • Trò chuyện trực tiếp
    • Học trực tuyến
    Chuỗi cung ứng
    • Tồn kho
    • Sản xuất
    • PLM
    • Mua hàng
    • Bảo dưỡng
    • Chất lượng
    Nhân sự
    • Nhân viên
    • Tuyển dụng
    • Ngày nghỉ
    • Đánh giá
    • Giới thiệu
    • Đội xe
    Marketing
    • Marketing trên MXH
    • Marketing qua email
    • Marketing qua SMS
    • Sự kiện
    • Tự động hóa Marketing
    • Khảo sát
    Dịch vụ
    • Dự án
    • Bảng chấm công
    • Dịch vụ hiện trường
    • Hỗ trợ
    • Kế hoạch
    • Lịch hẹn
    Năng suất
    • Thảo luận
    • Phê duyệt
    • IoT
    • VoIP
    • Kiến thức
    • WhatsApp
    Ứng dụng của bên thứ ba Studio Odoo Nền tảng Đám mây Odoo
  • Ngành
    Bán lẻ
    • Nhà sách
    • Cửa hàng quần áo
    • Cửa hàng nội thất
    • Cửa hàng tạp hóa
    • Cửa hàng đồ kim khí
    • Cửa hàng đồ chơi
    Ẩm thực & Dịch vụ lưu trú
    • Bar và quán rượu
    • Nhà hàng
    • Đồ ăn nhanh
    • Guest house
    • Nhà phân phối đồ uống
    • Khách sạn
    Bất động sản
    • Công ty môi giới bất động sản
    • Công ty kiến trúc
    • Xây dựng
    • Quản lý bất động sản
    • Làm vườn
    • Hiệp hội chủ sở hữu bất động sản
    Tư vấn
    • Công ty kế toán
    • Đối tác Odoo
    • Công ty marketing
    • Công ty luật
    • Tuyển dụng
    • Thanh tra & chứng nhận
    Sản xuất
    • Dệt may
    • Kim loại
    • Nội thất
    • Ẩm thực
    • Nhà máy bia
    • Quà tặng doanh nghiệp
    Sức khoẻ & fitness
    • CLB thể thao
    • Cửa hàng kính mắt
    • Trung tâm fitness
    • Chuyên gia chăm sóc sức khỏe
    • Hiệu thuốc
    • Tiệm làm tóc
    Thương mại
    • Dịch vụ sửa chữa
    • Phần cứng CNTT & Hỗ trợ
    • Hệ thống năng lượng mặt trời
    • Công ty sản xuất giày
    • Dịch vụ vệ sinh
    • Dịch vụ HVAC
    Khác
    • Tổ chức phi lợi nhuận
    • Cơ quan môi trường
    • Cho thuê biển quảng cáo
    • Nhiếp ảnh
    • Cho thuê xe đạp
    • Đại lý phần mềm
    Xem tất cả ngành
  • Cộng đồng
    Học tập
    • Khóa học
    • Tài liệu
    • Chứng chỉ
    • Đào tạo
    • Blog
    • Podcast
    Thúc đẩy đào tạo
    • Chương trình đào tạo
    • Trò chơi kinh doanh Scale Up!
    • Tham quan Odoo
    Nhận phần mềm
    • Tải xuống
    • So sánh các phiên bản
    • Phiên bản
    Hợp tác
    • Github
    • Diễn đàn
    • Sự kiện
    • Dịch thuật
    • Trở thành đối tác
    • Dịch vụ dành cho Đối tác
    • Đăng ký công ty kế toán của bạn
    Nhận dịch vụ
    • Tìm đối tác
    • Tìm kế toán
    • Gặp chuyên gia hỗ trợ
    • Dịch vụ Triển khai
    • Khách hàng tham khảo
    • Hỗ trợ
    • Nâng cấp
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Nhận một buổi demo
  • Bảng giá
  • Trợ giúp

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

  • CRM
  • e-Commerce
  • Kế toán
  • Tồn kho
  • PoS
  • Dự án
  • MRP
All apps
Bạn cần phải đăng ký để tương tác với cộng đồng.
Tất cả bài viết Người Huy hiệu
Thẻ (Xem tất cả)
odoo accounting v14 pos v15
Về diễn đàn này
Bạn cần phải đăng ký để tương tác với cộng đồng.
Tất cả bài viết Người Huy hiệu
Thẻ (Xem tất cả)
odoo accounting v14 pos v15
Về diễn đàn này
Hỗ trợ

Errors while instalation Odoo 12 + Ubunty 16.04

Đăng ký nhận tin

Nhận thông báo khi có hoạt động trên bài viết này

Câu hỏi này đã bị gắn cờ
installationubuntuodoo12
1 Trả lời
23085 Lượt xem
Ảnh đại diện
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
Ảnh đại diện
Huỷ bỏ
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
Tác giả

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

Ảnh đại diện
Eric CATTELIN
Câu trả lời hay nhất

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
Ảnh đại diện
Huỷ bỏ
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!

Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!

Đăng ký
Bài viết liên quan Trả lời Lượt xem Hoạt động
Installing odoo 12 on ubuntu LTS 22.04
installation ubuntu
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
2
thg 6 22
9098
Odoo Installation Đã xử lý
ubuntu odoo12
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
3
thg 1 24
33968
OpenERP path on Ubuntu installation Đã xử lý
installation ubuntu
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
7
thg 12 23
46610
how to install sassc? Đã xử lý
installation odoo12
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
12
thg 7 24
81251
Certificate Error Đã xử lý
ubuntu odoo12
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
4
thg 1 24
8232
Cộng đồng
  • Khóa học
  • Tài liệu
  • Diễn đàn
Open source
  • Tải xuống
  • Github
  • Runbot
  • Dịch thuật
Dịch vụ
  • Lưu trữ Odoo.sh
  • Hỗ trợ
  • Nâng cấp
  • Phát triển tùy chỉnh
  • Đào tạo
  • Tìm kế toán
  • Tìm đối tác
  • Trở thành đối tác
Giới thiệu công ty
  • Công ty của chúng tôi
  • Tài sản thương hiệu
  • Liên hệ
  • Việc làm
  • Sự kiện
  • Podcast
  • Blog
  • Khách hàng
  • Pháp lý • Riêng tư
  • Bảo mật
الْعَرَبيّة 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 là bộ ứng dụng kinh doanh có open source đáp ứng tất cả các nhu cầu của công ty bạn: CRM, thương mại điện tử, kế toán, tồn kho, POS, quản lý dự án, v.v.

Định hướng giá trị riêng biệt của Odoo là tích hợp hoàn toàn và dễ dàng sử dụng.

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