Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
2214 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
apr. 25
1466
Odoo App Opgelost
1
nov. 23
2045
0
mei 24
1769
0
sep. 23
2698
0
sep. 23
2338