ImportError: cannot import name ‘_validate_lengths‘解决方法

只需升级一下scikit-image库即可!

pip install --upgrade scikit-image

然而,并不是这么顺利!

·报下面这个错误:

ERROR: Cannot uninstall ‘imageio’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

·解决方法

pip install --ignore-installed imageio

然后再重新运行即可

pip install --upgrade scikit-image

猜你喜欢

转载自blog.csdn.net/qq_49785839/article/details/115433907