Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
1742 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
Odoo App Resuelto
1
nov 23
1235
0
nov 23
704
0
may 24
1001
0
sept 23
1873
0
sept 23
1557