コンテンツへスキップ
Odoo メニュー
  • サインイン
  • 無料で15日試す
  • アプリ
    財務
    • 会計
    • 請求
    • 経費
    • スプレッドシート(BI)
    • ドキュメント管理
    • 署名
    販売
    • CRM
    • 販売
    • POS店舗
    • POSレストラン
    • サブスクリプション
    • レンタル
    ウェブサイト
    • ウェブサイトビルダー
    • eコマース
    • ブログ
    • フォーラム
    • ライブチャット
    • eラーニング
    サプライチェーン
    • 在庫
    • 製造
    • 製品ライフサイクル管理 (PLM)
    • 購買
    • 整備
    • 品質
    人事業務
    • 従業員管理
    • 採用
    • 休暇管理
    • 人事評価
    • リファラル
    • フリート
    マーケティング
    • ソーシャルマーケティング
    • メールマーケティング
    • SMSマーケティング
    • イベント
    • マーケティングオートメーション
    • アンケート調査
    サービス
    • プロジェクト管理
    • タイムシート
    • フィールドサービス
    • ヘルプデスク
    • 計画
    • アポイントメント
    生産性向上ツール
    • ディスカッション
    • 承認
    • IoT
    • VoIP
    • ナレッジ
    • WhatsApp
    サードパーティアプリ Odooスタジオ Odooクラウドプラットホーム
  • インダストリー(業種別ソリューション)
    小売
    • 書店
    • アパレルショップ
    • 家具専門店
    • 食料品店
    • 金物店
    • 玩具店
    飲食・ホスピタリティ業界
    • バー・パブ
    • レストラン
    • ファストフード
    • ゲストハウス
    • 飲料販売代理店
    • ホテル
    不動産
    • 不動産会社
    • 建築事務所
    • 建設
    • 不動産管理
    • 造園
    • 住宅所有者組合
    コンサルティング
    • 会計事務所
    • Odooパートナー
    • マーケティングエージェンシー
    • 法律事務所
    • 人材派遣
    • 監査・認証
    製造
    • テキスタイル
    • 金属
    • 家具
    • 飲食
    • 醸造所
    • コーポレートギフト
    ヘルス & フィットネス
    • スポーツクラブ
    • 眼鏡店
    • フィットネスセンター
    • ウェルネス専門家
    • 薬局
    • ヘアサロン
    業種
    • 便利屋
    • IT ハードウェア・サポート
    • 太陽エネルギーシステム
    • 靴メーカー
    • クリーニングサービス
    • 空調設備サービス
    その他
    • 非営利団体
    • 環境機関
    • ビルボードレンタル
    • 写真
    • 自転車リース
    • ソフトウェアリセラー
    すべての業種を見る
  • コミュニティ
    学ぶ
    • チュートリアル
    • ドキュメンテーション
    • 認定
    • トレーニング
    • ブログ
    • ポッドキャスト
    教育サポート
    • 教育プログラム
    • 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:

  • CRM
  • e-Commerce
  • 会計
  • 在庫
  • PoS
  • プロジェクト
  • MRP
All apps
コミュニティで交流するには登録する必要があります。
全てのポスト 人々 バッジ
タグ (全て表示)
odoo accounting v14 pos v15
このフォーラムについて
コミュニティで交流するには登録する必要があります。
全てのポスト 人々 バッジ
タグ (全て表示)
odoo accounting v14 pos v15
このフォーラムについて
ヘルプ

Odoo 17 not booting after install / Dependencies package issue? [Ubuntu 22.04 - Python 3.10.12]

購読

この投稿に活動があった際に通知を受け取ります

この質問にフラグが付けられました
installationhelpv17ubuntu22.04odoo 17
1 返信
7145 ビュー
アバター
Daniel Maio

Ubuntu 22.04

Python 3.10.12

During script installation of Odoo 17 (yenthe666), installation of the required packages had an issue. It worked on previous installs until this now...

---- Install python packages/requirements ----
Ignoring Babel: markers 'python_version >= "3.11"' don't match your environment
Ignoring chardet: markers 'python_version >= "3.11"' don't match your environment
Ignoring cryptography: markers 'python_version >= "3.12"' don't match your environment
Ignoring decorator: markers 'python_version >= "3.11"' don't match your environment
Ignoring docutils: markers 'python_version >= "3.11"' don't match your environment
Ignoring freezegun: markers 'python_version >= "3.11"' don't match your environment
Ignoring gevent: markers 'sys_platform != "win32" and python_version > "3.10" and python_version < "3.12"' don't match your environment
Ignoring gevent: markers 'sys_platform != "win32" and python_version >= "3.12"' don't match your environment
Ignoring greenlet: markers 'sys_platform != "win32" and python_version > "3.10" and python_version < "3.12"' don't match your environment
Ignoring greenlet: markers 'sys_platform != "win32" and python_version >= "3.12"' don't match your environment
Ignoring idna: markers 'python_version >= "3.12"' don't match your environment
Ignoring Jinja2: markers 'python_version > "3.10"' don't match your environment
Ignoring libsass: markers 'python_version >= "3.11"' don't match your environment
Ignoring lxml: markers 'python_version > "3.10" and python_version < "3.12"' don't match your environment
Ignoring lxml: markers 'python_version >= "3.12"' don't match your environment
Ignoring lxml-html-clean: markers 'python_version >= "3.12"' don't match your environment
Ignoring MarkupSafe: markers 'python_version > "3.10" and python_version < "3.12"' don't match your environment
Ignoring MarkupSafe: markers 'python_version >= "3.12"' don't match your environment
Ignoring num2words: markers 'python_version >= "3.12"' don't match your environment
Ignoring Pillow: markers 'python_version > "3.10" and python_version < "3.12"' don't match your environment
Ignoring Pillow: markers 'python_version >= "3.12"' don't match your environment
Ignoring psutil: markers 'python_version > "3.10" and python_version < "3.12"' don't match your environment
Ignoring psutil: markers 'python_version >= "3.12"' don't match your environment
Ignoring psycopg2: markers 'python_version == "3.11"' don't match your environment
Ignoring psycopg2: markers 'python_version >= "3.12"' don't match your environment
Ignoring pyopenssl: markers 'python_version >= "3.12"' don't match your environment
Ignoring PyPDF2: markers 'python_version > "3.10"' don't match your environment
Ignoring pypiwin32: markers 'sys_platform == "win32"' don't match your environment
Ignoring python-dateutil: markers 'python_version >= "3.11"' don't match your environment
Ignoring python-ldap: markers 'sys_platform != "win32" and python_version >= "3.12"' don't match your environment
Ignoring python-stdnum: markers 'python_version >= "3.11"' don't match your environment
Ignoring qrcode: markers 'python_version >= "3.11"' don't match your environment
Ignoring reportlab: markers 'python_version > "3.10" and python_version < "3.12"' don't match your environment
Ignoring reportlab: markers 'python_version >= "3.12"' don't match your environment
Ignoring requests: markers 'python_version >= "3.11"' don't match your environment
Ignoring rjsmin: markers 'python_version >= "3.11"' don't match your environment
Ignoring rl-renderPM: markers 'sys_platform == "win32" and python_version >= "3.12"' don't match your environment
Ignoring urllib3: markers 'python_version >= "3.12"' don't match your environment
Ignoring Werkzeug: markers 'python_version > "3.10" and python_version < "3.12"' don't match your environment
Ignoring Werkzeug: markers 'python_version >= "3.12"' don't match your environment
Ignoring xlrd: markers 'python_version >= "3.12"' don't match your environment
Ignoring XlsxWriter: markers 'python_version >= "3.12"' don't match your environment
Ignoring zeep: markers 'python_version >= "3.11"' don't match your environment
Collecting Babel==2.9.1
  Using cached Babel-2.9.1-py2.py3-none-any.whl (8.8 MB)
Requirement already satisfied: chardet==4.0.0 in /usr/lib/python3/dist-packages (from -r https://github.com/odoo/odoo/raw/17.0/requirements.txt (line 5)) (4.0.0)
Requirement already satisfied: cryptography==3.4.8 in /usr/lib/python3/dist-packages (from -r https://github.com/odoo/odoo/raw/17.0/requirements.txt (line 7)) (3.4.8)
Collecting decorator==4.4.2
  Using cached decorator-4.4.2-py2.py3-none-any.whl (9.2 kB)
Collecting docutils==0.17
  Using cached docutils-0.17-py2.py3-none-any.whl (575 kB)
Collecting ebaysdk==2.1.5
  Using cached ebaysdk-2.1.5.tar.gz (42 kB)
  Preparing metadata (setup.py) ... done
Collecting freezegun==1.1.0
  Using cached freezegun-1.1.0-py2.py3-none-any.whl (16 kB)
Collecting geoip2==2.9.0
  Using cached geoip2-2.9.0-py2.py3-none-any.whl (18 kB)
Collecting gevent==21.8.0
  Using cached gevent-21.8.0.tar.gz (6.2 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [46 lines of output]
      Compiling src/gevent/resolver/cares.pyx because it changed.
      [1/1] Cythonizing src/gevent/resolver/cares.pyx
      performance hint: src/gevent/libev/corecext.pyx:1325:0: Exception check on '_syserr_cb' will always require the GIL to be acquired.
      Possible solutions:
          1. Declare '_syserr_cb' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
          2. Use an 'int' return type on '_syserr_cb' to allow an error code to be returned.

      Error compiling Cython file:
      ------------------------------------------------------------
      ...
      cdef tuple integer_types

      if sys.version_info[0] >= 3:
          integer_types = int,
      else:
          integer_types = (int, long)
                                ^
      ------------------------------------------------------------

      src/gevent/libev/corecext.pyx:60:26: undeclared name not builtin: long
      Compiling src/gevent/libev/corecext.pyx because it changed.
      [1/1] Cythonizing src/gevent/libev/corecext.pyx
      Traceback (most recent call last):
        File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
          main()
        File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 130, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 162, in get_requires_for_build_wheel
          return self._get_build_requires(
        File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 143, in _get_build_requires
          self.run_setup()
        File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 267, in run_setup
          super(_BuildMetaLegacyBackend,
        File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 158, in run_setup
          exec(compile(code, __file__, 'exec'), locals())
        File "setup.py", line 50, in <module>
          CORE = cythonize1(build_libev_extension())
        File "/tmp/pip-install-ryds2jcy/gevent_0020f72785864fd099ff65a2b0fb806e/_setuputils.py", line 237, in cythonize1
          new_ext = cythonize(
        File "/tmp/pip-build-env-nahuif3o/overlay/local/lib/python3.10/dist-packages/Cython/Build/Dependencies.py", line 1109, in cythonize
          cythonize_one(*args)
        File "/tmp/pip-build-env-nahuif3o/overlay/local/lib/python3.10/dist-packages/Cython/Build/Dependencies.py", line 1256, in cythonize_one
          raise CompileError(None, pyx_file)
      Cython.Compiler.Errors.CompileError: src/gevent/libev/corecext.pyx
      [end of output]

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

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

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

I've been diagnosing this problem since Ubuntu 24 and ended up hard resetting to Ubuntu 22. The decision was also due to the Python 12 issue, and as a newbie, it seemed logical. 

Does "ignoring packages due to not matching the environment" affect the overall service? I'm unsure how to mitigate this, as some specify "win32".

I've run separately:

pip install -r requirements.txt

Yet I get the same "ignoring files" and "build to wheel" error.

Searching up similar issues yielded similar solutions:

sudo apt install libpq-dev

But the issue is I already have it installed (newest version 17.2.1)

Running:

sudo service odoo-server start / sudo systemctl start odoo-server

Yield no results, no start-up. The only response I get from "systemctl status" is:

odoo-server.service - LSB: Enterprise Business Applications
     Loaded: loaded (/etc/init.d/odoo-server; generated)
     Active: active (exited) since Fri 2025-01-10 12:38:29 UTC; 11min ago
       Docs: man:systemd-sysv-generator(8)
        CPU: 113ms

Jan 10 12:38:29 vantamsvr systemd[1]: Starting LSB: Enterprise Business Applications...
Jan 10 12:38:29 vantamsvr odoo-server[1013]: Starting odoo-server: odoo-server.
Jan 10 12:38:29 vantamsvr systemd[1]: Started LSB: Enterprise Business Applications.

There are no logs either. The location is created, but no "odoo-server.log" to read from.

My last effort was to run "./odoo-bin" manually this yielded:

Traceback (most recent call last):
  File "/odoo/odoo-server/./odoo-bin", line 5, in <module>
    import odoo
  File "/odoo/odoo-server/odoo/__init__.py", line 115, in <module>
    from . import modules
  File "/odoo/odoo-server/odoo/modules/__init__.py", line 8, in <module>
    from . import db, graph, loading, migration, module, registry, neutralize
  File "/odoo/odoo-server/odoo/modules/db.py", line 4, in <module>
    from psycopg2.extras import Json
ModuleNotFoundError: No module named 'psycopg2'

Please help, I've been diagnosing this issue for a week now!

0
アバター
破棄
アバター
Twissel
最善の回答

Hello!
Try to install python3.12 from the DeadSnakes PPA repository and python3.12-venv, python3.12-dev as well.
Then create venv using command

python3.12 -m venv odoo18-venv

and so on.
This should fix your problems.

Hope it helps you :-)

Cheers!


P.S. I've just installed Odoo18 the way I posted here.

0
アバター
破棄
ディスカッションを楽しんでいますか?読むだけでなく、参加しましょう!

今すぐアカウントを作成して、限定機能を利用したり、素晴らしいコミュニティと交流しましょう!

登録
関連投稿 返信 ビュー 活動
Following the Odoo 17 installation guide when I run the command sudo -u postgres createuser -d -R -S $USER I get the message could not change directory to "/home/odoo": Access denied
installation postgresql v17 ubuntu22.04
アバター
0
1月 24
3177
By accident, I deleted the cache files on Odoo 17, how I can regenerate it again?
v17 odoo 17
アバター
0
2月 25
1373
odoo17 installation stops
installation v17
アバター
アバター
1
1月 24
2091
Ubuntu 24.04 + Odoo 17.0 instalation - error: externally-managed-environment 解決済
installation v17 digitalocean
アバター
1
7月 24
7664
Help required
help user_management v17
アバター
0
4月 24
1623
コミュニティ
  • チュートリアル
  • ドキュメンテーション
  • フォーラム
オープンソース
  • ダウンロード
  • Github
  • Runbot
  • 翻訳
サービス
  • Odoo.shホスティング
  • サポート
  • アップグレード
  • カスタム開発
  • 教育プログラム
  • 会計事務所一覧
  • パートナー一覧
  • パートナーになる
企業情報
  • 会社概要
  • ブランドアセット
  • お問い合わせ
  • 採用情報
  • イベント
  • ポッドキャスト
  • ブログ
  • お客様一覧
  • リーガル情報 • プライバシーポリシー
  • セキュリティ
الْعَرَبيّة 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、eコマース、会計、在庫管理、POS、プロジェクト管理など、企業のさまざまな業務を一つのシステムで管理できる、ベルギー発のオープンソースのERPソフトウェアです。

高機能で使いやすく、完全に統合されたERPとして、ユニークな価値を提供しています。

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