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

I try to install by using pip from  odoo shell the module "face_recognition":


pip install face_recognition

Before was successfully installed "cmake".

When pip try to install "dlib" and "face_recognition" it interrupt without any error.

Maybe somebody was face with same problem.


output in shell :


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

did u find a solution???
cuz am facing the same problem

 

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


you can add you library in __manifest__.py file as above.

الصورة الرمزية
إهمال
الكاتب

thanks for help. But the problem is that on Odoo sh server I try to install all needed libs by adding them to requirements.txt file and except dlib and face-recognition every package were installed successfully.
Maybe on Dev branch is a memory hardware limit? And no any hardware memory limit on Stage branch and Prod?

did u find a solution

Recently i installed some other libraries using pip

Pip install library_name

If the command run successfully you can restart the sh server using odoosh-restart
Just wiat for it to restart and it will work fine.

أفضل إجابة

Hi,
In your github repository, which is linked with odoo.sh project, add a file named requirements.txt and specify the needed python packages in it.

The specified packages, will be installed by odoo sh for you.

See: https://www.odoo.sh/faq

Python dependencies:

You can define requirements.txt files in your branch holding the python dependencies your project relies on. These requirements files can be placed in the root of the folders containing your addons. The platform will then install the dependencies for each build.

Thanks

الصورة الرمزية
إهمال
الكاتب

i have tried that but due to large size of library it doesn't want to install.

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
مايو 25
2398
1
أبريل 25
3425
1
أبريل 25
4239
1
أبريل 25
1739
4
مارس 25
6835