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

ModuleNotFoundError: No module named 'mmcv.runner' #292

Open
hoseinCode opened this issue Sep 14, 2023 · 4 comments
Open

ModuleNotFoundError: No module named 'mmcv.runner' #292

hoseinCode opened this issue Sep 14, 2023 · 4 comments

Comments

@hoseinCode
Copy link

hoseinCode commented Sep 14, 2023

hi when i write command: from mmcv.runner import init_dist, google colab shows error message as:
ModuleNotFoundError: No module named 'mmcv.runner'

@El3ctricR
Copy link

I also have this problem, any solutions yet?

@neerjathakkar
Copy link

I also have this problem

@Darius-H
Copy link

Darius-H commented Mar 21, 2024

from mmengine.dist import get_dist_info,init_dist

@mexicantexan
Copy link

Use mmengine instead of mmcv for the import statement. i.e change from mmcv.runner import Runner to from mmengine.runner import Runner. This worked for me, so mileage may vary.

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

No branches or pull requests

5 participants