【报错一】:error: Microsoft Visual C++ 14.0 or greater is required…
就是VS没装,安装个就可以,教程见
【报错1.1】:win10安装visual studio C++ build tools 提示安装包丢失或毁坏
【解决方法】使用离线安装。非常感谢这位大佬解决了 我本科开始到现在都没解决的问题…(确实惭愧,每次都绕过这个问题。)https://blog.csdn.net/Zhou_Yulong/article/details/117264550
【报错2】Error compiling objects for extension
【解决方案】原因是部分通过命令行从网上下载的mmcv不支持win,去https://download.openmmlab.com/mmcv/dist/index.html
https://download.openmmlab.com/mmcv/dist/cu113/torch1.10.0/index.html安装win支持的版本就行。
【报错3】进行build后不运行,以及直接develope导致的No module named ‘mmcv._ext’。这问题不知道为啥又冒出来,还没解决欢迎生鲜神仙指点。
win下安装mmcv的一些报错
最新推荐文章于 2025-07-11 16:24:29 发布