You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Validate the installation❌
python .dev_scripts/check_installation.py
#here having Error 'ModuleNotFoundError'
Reproduces the problem - error message
Traceback (most recent call last):
File "/Users/manishpargai/Documents/scrap/mmcv/.dev_scripts/check_installation.py", line 4, in
from mmcv.ops import box_iou_rotated
ModuleNotFoundError: No module named 'mmcv'Build on macOS
Additional information
No response
The text was updated successfully, but these errors were encountered:
pargaimanish
changed the title
[ModuleNotFoundError] : from mmcv.ops import box_iou_rotated
[Bug] : from mmcv.ops import box_iou_rotated
Mar 26, 2025
Prerequisite
Environment
OrderedDict([('sys.platform', 'darwin'), ('Python', '3.9.21 (main, Dec 3 2024, 17:50:13) [Clang 16.0.0 (clang-1600.0.26.4)]'), ('CUDA available', False), ('MUSA available', False), ('numpy_random_seed', np.uint32(2147483648)), ('GCC', 'Apple clang version 16.0.0 (clang-1600.0.26.6)'), ('PyTorch', '2.6.0'), ('PyTorch compiling details', 'PyTorch built with:\n - GCC 4.2\n - C++ Version: 201703\n - clang 15.0.0\n - OpenMP 201811\n - LAPACK is enabled (usually provided by MKL)\n - NNPACK is enabled\n - CPU capability usage: NO AVX\n - Build settings: BLAS_INFO=accelerate, BUILD_TYPE=Release, COMMIT_SHA=2236df1770800ffea5697b11b0bb0d910b2e59e1, CXX_COMPILER=/Applications/Xcode_15.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++, CXX_FLAGS= -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DLIBKINETO_NOROCTRACER -DLIBKINETO_NOXPUPTI=ON -DUSE_PYTORCH_QNNPACK -DAT_BUILD_ARM_VEC256_WITH_SLEEF -DUSE_XNNPACK -DUSE_PYTORCH_METAL_EXPORT -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DUSE_COREML_DELEGATE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=braced-scalar-init -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-unused-parameter -Wno-strict-overflow -Wno-strict-aliasing -Wvla-extension -Wsuggest-override -Wnewline-eof -Winconsistent-missing-override -Winconsistent-missing-destructor-override -Wno-pass-failed -Wno-error=old-style-cast -Wconstant-conversion -Wno-missing-braces -Qunused-arguments -fcolor-diagnostics -faligned-new -Wno-unused-but-set-variable -fno-math-errno -fno-trapping-math -Werror=format -DUSE_MPS -Wno-unused-private-field -Wno-missing-braces, LAPACK_INFO=accelerate, TORCH_VERSION=2.6.0, USE_CUDA=OFF, USE_CUDNN=OFF, USE_CUSPARSELT=OFF, USE_EIGEN_FOR_BLAS=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_GLOO=ON, USE_MKL=OFF, USE_MKLDNN=OFF, USE_MPI=OFF, USE_NCCL=OFF, USE_NNPACK=ON, USE_OPENMP=ON, USE_ROCM=OFF, USE_ROCM_KERNEL_ASSERT=OFF, \n'), ('TorchVision', '0.21.0'), ('OpenCV', '4.11.0'), ('MMEngine', '0.10.7'), ('MMCV', '2.1.0'), ('MMCV Compiler', 'n/a'), ('MMCV CUDA Compiler', 'n/a')])
Reproduces the problem - code sample
Build on macOS
Reproduces the problem - command or script
git clone --branch v2.1.0 --depth 1 https://github.com/open-mmlab/mmcv.git ✅
cd mmcv✅
pip install -r requirements/optional.txt✅
MMCV_WITH_OPS=1 pip install -e .✅
Validate the installation❌
python .dev_scripts/check_installation.py
Reproduces the problem - error message
Traceback (most recent call last):
File "/Users/manishpargai/Documents/scrap/mmcv/.dev_scripts/check_installation.py", line 4, in
from mmcv.ops import box_iou_rotated
ModuleNotFoundError: No module named 'mmcv'Build on macOS
Additional information
No response
The text was updated successfully, but these errors were encountered: