Skip to content

OSError: [WinError 126] The specified module could not be found #1

@mohithkuruba

Description

@mohithkuruba

when i try to run main1.py im getting these errors

%Run main1.py
Traceback (most recent call last):
File "D:\carnumberplate-main\carnumberplate-main\main1.py", line 3, in
from ultralytics import YOLO
File "C:\Users\m6hit\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\ultralytics_init_.py", line 5, in
from ultralytics.data.explorer.explorer import Explorer
File "C:\Users\m6hit\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\ultralytics\data_init_.py", line 3, in
from .base import BaseDataset
File "C:\Users\m6hit\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\ultralytics\data\base.py", line 15, in
from torch.utils.data import Dataset
File "C:\Users\m6hit\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\torch_init_.py", line 141, in
raise err
OSError: [WinError 126] The specified module could not be found. Error loading "C:\Users\m6hit\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\torch\lib\shm.dll" or one of its dependencies.

can anyone please help me!

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