解决报错ModuleNotFoundError: No module named ‘inplace_abn‘

齐英韶
2023-12-01

报错如下:

ModuleNotFoundError: No module named 'inplace_abn'

安装:

sudo pip install inplace_abn

如果安装inplace_abn报错如下:

distutils.errors.DistutilsError: Could not find suitable distribution forRequirement.parse('setuptools_scm')
-
-
-
Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip

则需要首先安装setuptools_scm:

sudo pip install setuptools_scm
 类似资料: