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' #180

Open
GFY2000 opened this issue Aug 26, 2024 · 2 comments
Open

ModuleNotFoundError: No module named 'mmcv' #180

GFY2000 opened this issue Aug 26, 2024 · 2 comments

Comments

@GFY2000
Copy link

GFY2000 commented Aug 26, 2024

Traceback (most recent call last):
File "/meta/AigcPainting/ComfyUI/nodes.py", line 1982, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/meta/AigcPainting/ComfyUI/custom_nodes/ComfyUI-MuseTalk/init.py", line 1, in
from .nodes import NODE_CLASS_MAPPINGS
File "/meta/AigcPainting/ComfyUI/custom_nodes/ComfyUI-MuseTalk/nodes.py", line 26, in
from musetalk.utils.preprocessing import get_landmark_and_bbox,read_imgs,coord_placeholder
File "/meta/AigcPainting/ComfyUI/custom_nodes/ComfyUI-MuseTalk/musetalk/utils/preprocessing.py", line 10, in
from mmpose.apis import inference_topdown, init_model
File "/root/anaconda3/envs/comfyui-311/lib/python3.11/site-packages/mmpose/init.py", line 2, in
import mmcv
ModuleNotFoundError: No module named 'mmcv'

@aaaastark
Copy link

Install these packages in your virtual environment for Torch 2.2.2 of cuda121 or cuda118.

pip install openmim==0.3.9

mim install mmengine==0.10.4
mim install mmcv==2.1.0
mim install mmdet==3.2.0
mim install mmpose==1.3.2

@noob8boi
Copy link

Install these packages in your virtual environment for Torch 2.2.2 of cuda121 or cuda118.

pip install openmim==0.3.9

mim install mmengine==0.10.4 mim install mmcv==2.1.0 mim install mmdet==3.2.0 mim install mmpose==1.3.2

i am getting ModuleNotFoundError: No module named 'mmcv._ext'. May i get your full installation setup?

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
@GFY2000 @aaaastark @noob8boi and others