freedomwebtech / carnumberplate

8 stars 6 forks source link

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

Open mohithkuruba opened 5 months ago

mohithkuruba commented 5 months ago

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!

Nozatron986 commented 5 months ago

I get the same issue, anyone know how to resolve thanks