clip-retrieval icon indicating copy to clipboard operation
clip-retrieval copied to clipboard

AttributeError: Can't pickle local object (only on Mac M1)

Open louis030195 opened this issue 2 years ago • 2 comments

This error only occurs on Mac M1, and the same code works on Linux (gitpod.io), so it's not really an issue for me, but just in case to leave it as a placeholder if anyone has the same error.

https://gist.github.com/louis030195/416fea6224b86e8cb993cd9d5c22b894

(or if you suspect that it's unrelated to the environment?)

louis030195 avatar May 11 '22 11:05 louis030195

Hi Louis, I am facing the same problem. Did you manage to solve it ?

hwazni avatar Oct 14 '22 10:10 hwazni

Solution is to make all functions first level

On Fri, Oct 14, 2022, 12:50 Hadi Wazni @.***> wrote:

Hi Louis, I am facing the same problem. Did you manage to solve it ?

— Reply to this email directly, view it on GitHub https://github.com/rom1504/clip-retrieval/issues/142#issuecomment-1278842803, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR437TIMGTKAQL5IJIV2YTWDE3ITANCNFSM5VUTALPA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

rom1504 avatar Oct 14 '22 11:10 rom1504