İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
1983 Görünümler

When i install odoo v16 in my macbook it gives me error like..

  Preparing metadata (setup.py) ... error

  error: subprocess-exited-with-error

  

  × python setup.py egg_info did not run successfully.

  │ exit code: 1

  ╰─> [10 lines of output]

      ##### setup-python-3.12.0-macosx-10.9-universal2: ================================================

      ##### setup-python-3.12.0-macosx-10.9-universal2: Attempting build of _rl_accel

      ##### setup-python-3.12.0-macosx-10.9-universal2: extensions from 'src/rl_addons/rl_accel'

      ##### setup-python-3.12.0-macosx-10.9-universal2: ================================================

      ##### setup-python-3.12.0-macosx-10.9-universal2: ===================================================

      ##### setup-python-3.12.0-macosx-10.9-universal2: Attempting build of _renderPM

      ##### setup-python-3.12.0-macosx-10.9-universal2: extensions from 'src/rl_addons/renderPM'

      ##### setup-python-3.12.0-macosx-10.9-universal2: ===================================================

      ##### setup-python-3.12.0-macosx-10.9-universal2: will use package libart 2.3.21

      !!!!! cannot find ft2build.h

      [end of output]

what is the solution of this error, i tried every answer which is mentioned in forum.

Avatar
Vazgeç
En İyi Yanıt

In my case brew was failing the installation raising an error of access denied of a path needed for installation. Checking the path permissions, the directory had root as owner. Tried changing to my user, with no positive results. Then deleted the directory (api was the directory name) and tried brew install again. 

The error resolved after that. 


Avatar
Vazgeç
En İyi Yanıt

Hi Nirali Joshi 
it's missing the ft2build.h header file If you don't already have Homebrew installed on your Mac , you can install it by running the following command in the terminal /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" after this step install freeType brew install freetype 

Some Python packages may require additional development headers to compile. Common ones include libjpeg, openssl, and libffi. You can install them using Homebrew:brew install jpeg openssl libffi

The last step ensure that you're using a python version that's compatible with Odoo v16 its Python 3.8




Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Nis 25
1084
Odoo App Çözüldü
1
Kas 23
1615
0
May 24
1348
0
Eyl 23
2295
0
Eyl 23
1945