跳至內容
Odoo 選單
  • 登入
  • 免費試用
  • 應用程式
    財政
    • 會計
    • 發票
    • 開支報銷
    • 試算表 (BI)
    • 文件管理
    • 電子簽名
    銷售
    • 客戶關係
    • 銷售
    • POS 銷售點管理 - 零售
    • POS 銷售點管理 - 餐廳
    • 訂閱
    • 租賃
    網站
    • 網站製作
    • 電子商務
    • 網誌
    • 討論區
    • 線上客服
    • 網上學習
    供應鏈
    • 庫存
    • 製造管理
    • 產品生命周期
    • 採購
    • 保養維護
    • 品質管理
    人力資源
    • 員工管理
    • 招聘
    • 休假
    • 工作表現評核
    • 內部推薦
    • 車隊管理
    市場推廣
    • 社交媒體推廣
    • 電郵推廣
    • 短訊營銷
    • 活動
    • 自動化推廣
    • 網上調查
    服務
    • 專案管理
    • 工時管理
    • 外勤服務管理
    • 技術支援
    • 工作規劃
    • 預約管理
    生產力
    • 聊天
    • 批核
    • 物聯網
    • VoIP
    • 知識庫
    • WhatsApp
    第三方應用程式 Odoo Studio Odoo 雲端平台
  • 行業
    零售
    • 書店
    • 服裝店
    • 家具店
    • 食品雜貨店
    • 五金店
    • 玩具店
    餐飲及款待
    • 酒吧及酒館
    • 餐廳
    • 快餐
    • 賓館
    • 飲品分銷商
    • 酒店
    房地產
    • 地產代理公司
    • 建築師事務所
    • 建造業
    • 物業管理
    • 園藝
    • 業主聯會
    顧問服務
    • 會計公司
    • Odoo 合作夥伴
    • 市場推廣公司
    • 律師事務所
    • 人才招募
    • 審計及認證
    製造管理
    • 紡織
    • 金屬
    • 家具
    • 食品
    • 啤酒廠
    • 企業禮品
    保健與健身
    • 運動俱樂部
    • 眼鏡店
    • 健身中心
    • 健康從業人員
    • 藥房
    • 髮型屋
    技術行業
    • 雜工
    • IT 硬體與支援
    • 太陽能系統
    • 鞋匠
    • 清潔服務
    • 暖通空調服務
    其他
    • 非牟利組織
    • 環境保護機構
    • 廣告板租賃
    • 攝影服務
    • 自行車租賃
    • 軟體經銷商
    瀏覽所有行業
  • 社群
    學習
    • 教學影片
    • 使用說明
    • 認證
    • 培訓
    • 網誌
    • Podcast
    增強教學效能
    • 教育計劃
    • Scale Up! 商業遊戲
    • 到訪 Odoo
    取得軟件
    • 下載
    • 版本對照表
    • 版本說明
    合作
    • GitHub
    • 討論區
    • 活動
    • 翻譯
    • 成為合作夥伴
    • 合作夥伴服務
    • 登記你的會計服務公司
    獲取服務相關資料
    • 尋找合作夥伴
    • 尋找會計服務
    • 預約顧問諮詢
    • 安裝及推行服務
    • 客戶案例
    • 支援
    • 軟件升級
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    預約示範
  • 定價
  • 技術支援

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

  • 客戶關係
  • e-Commerce
  • 會計
  • 庫存
  • PoS
  • 專案管理
  • MRP
All apps
只限註冊用戶才可與社群互動。
所有帖文 人 獎章
標籤 (查看所有)
odoo accounting v14 pos v15
關於此討論區
只限註冊用戶才可與社群互動。
所有帖文 人 獎章
標籤 (查看所有)
odoo accounting v14 pos v15
關於此討論區
支援

Errors while instalation Odoo 12 + Ubunty 16.04

訂閱

此帖文有活動時,接收通知

此問題已被標幟
installationubuntuodoo12
1 回覆
23087 瀏覽次數
頭像
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
頭像
捨棄
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
作者

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

頭像
Eric CATTELIN
最佳答案

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
頭像
捨棄
喜歡這則討論?不要只閱讀,加入發表意見吧!

今天就建立帳戶,享受獨家功能,與我們精彩的社群互動!

註冊
相關帖文 回覆 瀏覽次數 活動
Installing odoo 12 on ubuntu LTS 22.04
installation ubuntu
頭像
頭像
頭像
2
6月 22
9099
Odoo Installation 已解決
ubuntu odoo12
頭像
頭像
頭像
頭像
3
1月 24
33970
OpenERP path on Ubuntu installation 已解決
installation ubuntu
頭像
頭像
頭像
頭像
頭像
7
12月 23
46610
how to install sassc? 已解決
installation odoo12
頭像
頭像
頭像
頭像
頭像
12
7月 24
81253
Certificate Error 已解決
ubuntu odoo12
頭像
頭像
頭像
4
1月 24
8233
社群
  • 教學影片
  • 使用說明
  • 討論區
開源
  • 下載
  • GitHub
  • Runbot 測試環境
  • 翻譯
服務
  • odoo.sh 網頁寄存
  • 支援
  • 升級
  • 自訂功能開發
  • 教育及培訓
  • 尋找會計服務
  • 尋找合作夥伴
  • 成為合作夥伴
關於我們
  • 關於 Odoo 公司
  • 品牌資產
  • 聯絡我們
  • 招聘
  • 活動
  • Podcast
  • 網誌
  • 客戶
  • 法律 • 私隱政策
  • 安全性
الْعَرَبيّة 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 是一套開放源碼的商業管理系統,涵蓋你公司全部的營運需要,包括客戶關係管理(CRM)、電子商務、會計、庫存管理、POS(銷售點管理)、專案管理等應用程式。

Odoo 的獨特價值是非常簡單易用,同時將不同應用程式完美整合。

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