AttributeError: module ‘pkgutil’ has no attribute ‘ImpImporter’. Did you mean: ‘zipimporter’?
找到 python\Lib\site-packages\pkg_resources
文件夹 ,打开 __init__.py
文件
全局搜索:pkgutil.ImpImporter
将找到的register_namespace_handler(pkgutil.ImpImporter, file_ns_handler)
替换为:register_namespace_handler(zipimport.zipimporter, file_ns_handler)
其实这里它已经写过这个了,但是他上边错误的没有注释掉