Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
2008 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
apr 25
1142
Odoo App Risolto
1
nov 23
1659
0
mag 24
1411
0
set 23
2343
0
set 23
1986