تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
2215 أدوات العرض

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.

الصورة الرمزية
إهمال
أفضل إجابة

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. 


الصورة الرمزية
إهمال
أفضل إجابة

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




الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
أبريل 25
1466
Odoo App تم الحل
1
نوفمبر 23
2045
0
مايو 24
1769
0
سبتمبر 23
2699
0
سبتمبر 23
2339