Skip to content

Commit

Permalink
fix module not found (#247)
Browse files Browse the repository at this point in the history
* fix module not found

* Update .github/workflows/package_testing.yml

Co-authored-by: fatih <[email protected]>

* Update .github/workflows/ci.yml

Co-authored-by: fatih <[email protected]>

---------

Co-authored-by: fatih <[email protected]>
  • Loading branch information
1qh and fcakyon authored Oct 16, 2023
1 parent 39e491b commit acd1c82
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-latest]
python-version: [3.7, 3.8, 3.9, "3.10"]
python-version: [3.8, 3.9, "3.10", "3.11"]
fail-fast: false

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/package_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-latest]
python-version: [3.7, 3.8, 3.9, "3.10"]
python-version: [3.8, 3.9, "3.10", "3.11"]
fail-fast: false

steps:
Expand Down
4 changes: 1 addition & 3 deletions yolov5/utils/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@
import torch
import torchvision
import yaml
# this leads to module not found error
from ultralytics.yolo.utils.checks import check_requirements
# correct import

from ultralytics.utils.checks import check_requirements

from yolov5.utils import TryExcept, emojis
Expand Down

0 comments on commit acd1c82

Please sign in to comment.