Skip to content
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

from ultralytics import YOLO #4994

Closed
alejoherrera opened this issue Dec 7, 2024 · 3 comments
Closed

from ultralytics import YOLO #4994

alejoherrera opened this issue Dec 7, 2024 · 3 comments
Labels

Comments

@alejoherrera
Copy link

ModuleNotFoundError Traceback (most recent call last)
in <cell line: 1>()
----> 1 from ultralytics import YOLO
2
3 # 1. Cargar el modelo (nano, el más pequeño)
4 model = YOLO("/content/drive/MyDrive/proyecto_promidat/vagoneta/dIAra_vagoneta/entrenamiento_yolo_vagoneta_2/weights/best.pt")
5

/usr/local/lib/python3.10/dist-packages/ultralytics/init.py in
4
5 import os
----> 6 import package
7
8 # Set ENV variables (place before imports)

ModuleNotFoundError: No module named 'package'

@alejoherrera
Copy link
Author

!pip install package

image

@baypogiMD
Copy link

Collecting package
Downloading package-0.1.1.tar.gz (13 kB)
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Preparing metadata (setup.py) ... error
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

@colaboratory-team
Copy link
Contributor

See #4979 - this should be resolved now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants