mmdetection icon indicating copy to clipboard operation
mmdetection copied to clipboard

mmpose1.3.2、mmdet3.3.0与mmcv2.2.0不兼容

Open namofoo opened this issue 7 months ago • 3 comments

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. mmpose 1.3.2 requires mmdet<3.3.0,>=3.0.0; extra == "mim", but you have mmdet 3.3.0 which is incompatible. mmdet 3.3.0 requires mmcv<2.2.0,>=2.0.0rc4; extra == "mim", but you have mmcv 2.2.0 which is incompatible.

我的CUDA版本是12.8,装了mmcv 2.2.0,安装mmdet和mmpose时版本无法适配,请问如何解决,不降低CUDA版本,降低mmcv 版本到2.1可以么?

namofoo avatar Jun 12 '25 11:06 namofoo

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. mmpose 1.3.2 requires mmdet<3.3.0,>=3.0.0; extra == "mim", but you have mmdet 3.3.0 which is incompatible. mmdet 3.3.0 requires mmcv<2.2.0,>=2.0.0rc4; extra == "mim", but you have mmcv 2.2.0 which is incompatible.

我的CUDA版本是12.8,装了mmcv 2.2.0,安装mmdet和mmpose时版本无法适配,请问如何解决,不降低CUDA版本,降低mmcv 版本到2.1可以么?

楼主你也是因为50系显卡的原因吧。现在解决了吗? 我先卡在mmcv和cuda12.8上了,总是编译不过…… Wsl2 python=3.10 torch=2.9 night cu128环境

alexbird33 avatar Jul 04 '25 10:07 alexbird33

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. mmpose 1.3.2 requires mmdet<3.3.0,>=3.0.0; extra == "mim", but you have mmdet 3.3.0 which is incompatible. mmdet 3.3.0 requires mmcv<2.2.0,>=2.0.0rc4; extra == "mim", but you have mmcv 2.2.0 which is incompatible. 我的CUDA版本是12.8,装了mmcv 2.2.0,安装mmdet和mmpose时版本无法适配,请问如何解决,不降低CUDA版本,降低mmcv 版本到2.1可以么?

楼主你也是因为50系显卡的原因吧。现在解决了吗? 我先卡在mmcv和cuda12.8上了,总是编译不过…… Wsl2 python=3.10 torch=2.9 night cu128环境

编译不过,可以按照这个链接https://zhuanlan.zhihu.com/p/434491590重新装一下visualstudio2019,然后设置好环境变量。再在anaconda power shell里重新用mim install安装mmcv 2.1.0,mmdet 3.2.0,mmpose用最新的版本。我是这样可以通过本地编译安装这些新版本,而且解决这几个之间的版本冲突,mmcv 2.2.0会和mmdet 3.3.0冲突,所以我按照提示调整了一些版本。使用预编译的版本只能安装比较旧的版本。

fengqingyubai avatar Jul 14 '25 08:07 fengqingyubai

一样遇到了

ghost avatar Jul 23 '25 08:07 ghost