Skip to Content
Menu
This question has been flagged
1 Reply
1849 Views

Hi all,

Im trying to install Odoo 17 on a VPS.

Unfortunately i'm running in to a installation issue while installing the Python requirements from requirements.txt:

Collecting reportlab==3.6.12 (from -r odoo17/requirements.txt (line 48))
  Using cached reportlab-3.6.12.tar.gz (4.5 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
  ╰─> [10 lines of output]
      ##### setup-python-3.12.3-linux-x86_64: ================================================
      ##### setup-python-3.12.3-linux-x86_64: Attempting build of _rl_accel
      ##### setup-python-3.12.3-linux-x86_64: extensions from 'src/rl_addons/rl_accel'
      ##### setup-python-3.12.3-linux-x86_64: ================================================
      ##### setup-python-3.12.3-linux-x86_64: ===================================================
      ##### setup-python-3.12.3-linux-x86_64: Attempting build of _renderPM
      ##### setup-python-3.12.3-linux-x86_64: extensions from 'src/rl_addons/renderPM'
      ##### setup-python-3.12.3-linux-x86_64: ===================================================
      ##### setup-python-3.12.3-linux-x86_64: will use package libart 2.3.21
      !!!!! cannot find ft2build.h
      [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 installed freetype but that doesn't solve the issue. 

Any ideas how to solve this?

Avatar
Discard
Author Best Answer

Never mind I got it working. Problem was the requirements.txt referencing multiple packages that are not compatible with Ubuntu 22.04. Installing them by hand worked out for me.


Avatar
Discard

you mean installing every package separately will solve this issue?

Author

Yes installing each package separately. That way if there is an error, like a version difference you are able to fix it. I installed all latest versions, not the versions mentioned in the requirements.txt file.