Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged

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!

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
avg. 24
3384
2
feb. 25
2274
1
mar. 23
5048
2
sep. 20
12783
4
apr. 24
26963