使用python 虚拟环境时出现   module 'collections' has no attribute 'Hashable' 这个时3.10 版本出现的问题
可以通过下面的修改进行修复。在3.12+ 版本好像修复了。


3.10.0/lib/python3.10/site-packages/yaml/constructor.py", line 126, in construct_mapping
 
 将 if not isinstance(key, collections.Hashable): 更改为
 if not isinstance(key, collections.abc.Hashable):

原文章%77w%77%2Ef%6F%72%61%73%70%2E%63n