[Python] NotImplementedError: cannot instantiate 'WindowsPath' on your system when load .pkl...

Discussão em 'Python' iniciado por Stack, Agosto 22, 2025.

  1. Stack

    Stack Membro Participativo

    I try to load a pickle file that initially saved from 'nlp = spacy.load("en_core_web_md")' it sucess to load and use in jupyter notebopok, but NotImplementedError: cannot instantiate 'WindowsPath' on your system when load .pkl file in prod environtment

    This is what I've done:

    1. changing path to backslash

    But, the error still similar, do you have any idea?

    Continue reading...

Compartilhe esta Página