roboflow / roboflow/notebooks

ultralytics module not found

Open
#357 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Jupyter Notebook
Stars
9.7k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

Search before asking
  • I have searched the Roboflow Notebooks issues and found no similar bug report.
Notebook name

yolov8_object_detection _on_custom_data_set.ipynb

Bug

Pip install method (recommended)

!pip install ultralytics==8.0.20

from IPython import display
display.clear_output()

import ultralytics
ultralytics.checks()

ModuleNotFoundError Traceback (most recent call last)
in <cell line: 0>()
6 display.clear_output()
7
----> 8 import ultralytics
9 ultralytics.checks()

ModuleNotFoundError: No module named 'ultralytics'


NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.

Environment

Python 3
T4 GPU

Minimal Reproducible Example

see above

Additional

Code used multiple times before without this issue

Are you willing to submit a PR?
  • Yes I'd like to help by submitting a PR!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure in yolov8_object_detection _on_custom_data_set.ipynb using the reported Python 3 and T4 GPU environment. Start with the pip install and import cells shown in the issue, then inspect the notebook's installation sequence. Done means the notebook can import ultralytics and run ultralytics.checks() successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
computer-vision, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.