Hello everyone, I am having an error when I load a model saved with pickle, 
the error is as follows:

[Sun oct 18 12:35:54.049848 2020] [wsgi:error] [pid 2775:tid 
139848716216064] [client 179.67.95.54:53634] AttributeError: Can't get 
attribute 'word_normalization' on <module '__main__' (built-in)>, referer 
http://ec2-54-232-139-27.sa.compute.amazonaws.com/

the problem is that the pickle object that I load depends on a function 
called 'word_normalization', locally I call the function first before 
loading the pickle object and it works, but already on the server I load 
the function first (as shown in the image below) and it generates the 
aforementioned error. I would like to know how to solve this problem, thank 
you.

[image: Selección_087.png]

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/modwsgi/27c0e972-c6a7-48b8-95e5-26d651e3d817n%40googlegroups.com.

Reply via email to