Skip to content
This repository was archived by the owner on Mar 25, 2026. It is now read-only.

ModuleNotFoundError: No module named 'numpy._core' #40

Description

@zengwithhands

after loading best.pt,there is an error
Traceback (most recent call last):
File "labelGo.py", line 1388, in auto_label
run(**vars(opt))
File "C:\Users\zeng.conda\envs\labelgo\lib\site-packages\torch\autograd\grad_mode.py", line 26, in decorate_context
return func(*args, **kwargs)
File "G:\auto\labelGo-Yolov5AutoLabelImg\libs\autoLabeler.py", line 61, in run
model = attempt_load(weights, map_location=device) # load FP32 model
File "G:\auto\labelGo-Yolov5AutoLabelImg\libs\models\experimental.py", line 96, in attempt_load
ckpt = torch.load(attempt_download(w), map_location=map_location) # load
File "C:\Users\zeng.conda\envs\labelgo\lib\site-packages\torch\serialization.py", line 594, in load
return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args)
File "C:\Users\zeng.conda\envs\labelgo\lib\site-packages\torch\serialization.py", line 853, in _load
result = unpickler.load()
ModuleNotFoundError: No module named 'numpy._core'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions