Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

Hello everyone,

I’m trying to set up Odoo 18 Community Edition on my local machine running Ubuntu 22.04 with Python 3.10.12.

While installing the requirements.txt dependencies in a virtual environment, I keep getting a build error related to gevent==21.8.0. It tries to compile from source and fails with the following Cython error:

Error compiling Cython file: src/gevent/libev/corecext.pyx:60:26: undeclared name not builtin: long

I’ve tried:

  • Installing build tools: build-essential, python3.10-dev, libffi-dev, etc.
  • Downgrading and manually installing greenlet==1.1.2
  • Manually installing gevent==21.8.0 using wheel (no working Linux wheels found)
  • Forcing pip to use binary only: --only-binary :all:

But every attempt ends up trying to compile gevent from source and fails.

🔹 My setup:

  • Ubuntu 22.04
  • Python 3.10.12 (inside virtualenv)
  • Odoo 18 cloned from GitHub
  • pip, setuptools, wheel, cython — all updated

❓My questions:

  1. Is gevent==21.8.0 the correct version required for Odoo 18?
  2. Does Odoo 18 support Python 3.10 officially?
  3. Is there a known working combination of gevent + greenlet + Python for Odoo 18?
  4. Can I use a newer gevent version (e.g., 21.12.0) safely without breaking Odoo?

I am beginner just started learning and I’ve been stuck on this for a week now and would really appreciate some guidance from the community or maintainers. 🙏

Thank you!

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
sie 24
3411
2
lut 25
2301
1
mar 23
5059
2
wrz 20
12793
4
kwi 24
26971