We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85c83ba commit 5e736b1Copy full SHA for 5e736b1
mmengine/config/utils.py
@@ -176,7 +176,8 @@ def _is_builtin_module(module_name: str) -> bool:
176
return False
177
origin_path = osp.abspath(origin_path)
178
if ('site-package' in origin_path or 'dist-package' in origin_path
179
- or not origin_path.startswith(PYTHON_ROOT_DIR)):
+ or not origin_path.startswith(
180
+ (PYTHON_ROOT_DIR, '/usr/lib/python'))):
181
182
else:
183
return True
0 commit comments