-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problem in detection.py #22
Comments
You have python 3.12 |
And? |
you need 3.11.6 |
oh ok
let me see if works |
can u help me with this error when i execute main.py Traceback (most recent call last): |
how do you run it This error FileNotFoundError: [Errno 2] No such file or directory: 'brawler_stats.json' is because the script didnt find the folder so just check the owner video guide but dont use pycharm cuz thats too much |
now i cant install pytorch with conda it says that conda in not a batch file |
ur on windows right |
yes |
this was the error when i execute the detection.py in vs code c:/Users/User/Downloads/BrawlStarsBot-main/BrawlStarsBot-main/modules/detection.py
Traceback (most recent call last):
File "c:\Users\User\Downloads\BrawlStarsBot-main\BrawlStarsBot-main\modules\detection.py", line 5, in
from ultralytics import YOLO
File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\ultralytics_init_.py", line 5, in
from ultralytics.data.explorer.explorer import Explorer
File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\ultralytics\data_init_.py", line 3, in
from .base import BaseDataset
File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\ultralytics\data\base.py", line 15, in
from torch.utils.data import Dataset
File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\torch\utils_init_.py", line 4, in
from .throughput_benchmark import ThroughputBenchmark
File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\torch\utils\throughput_benchmark.py", line 2, in
import torch._C
ModuleNotFoundError: No module named 'torch._C'
The text was updated successfully, but these errors were encountered: