[Python] Error: Failed to import transformers.trainer because of the following error(...): No...

Discussão em 'Python' iniciado por Stack, Abril 30, 2025.

  1. Stack

    Stack Membro Participativo

    I'm trying to "from transformers import ..., Trainer, TrainingArguments, ..." but then receive such error

    File "C:\Python312\Lib\site-packages\transformers\utils\import_utils.py", line 1969, in _get_module raise RuntimeError( RuntimeError: Failed to import transformers.trainer because of the following error (look up to see its traceback): No module named 'multiprocess.pool'; 'multiprocess' is not a package

    I've already refreshed all surrounding libraries like transformers, accelerate etc. still in vain. Would like to turn to anyone can help.

    Continue reading...

Compartilhe esta Página