Deci-AI / super-gradients

Easily train or fine-tune SOTA computer vision models with one open source training library. The home of Yolo-NAS.
https://www.supergradients.com
Apache License 2.0
4.54k stars 496 forks source link

Import Error when import super_gradients.training.model #1459

Closed okanegemen closed 1 year ago

okanegemen commented 1 year ago

🐛 Describe the bug

when I try import models module I got Import error! ImportError: cannot import name 'DEV_PKGS' from 'pip._internal.commands.freeze'

Screenshot 2023-09-12 at 12 23 29

Versions

Screenshot 2023-09-12 at 12 24 02
geifmany commented 1 year ago

Changing pip to pip==23.1 solved it to me. We'll wait for the team to come up with a better solution.

BloodAxe commented 1 year ago

@okanegemen can you please share what python & pip version are you using?

Louis-Dupont commented 1 year ago

We just merged a fix to properly support latest versions of pip. This will be part of our next release super-gradients>=3.2.2

prince0310 commented 10 months ago

pip==23.1

worked for me too