pytest 遇到 AttributeError: module 'collections' has no attribute 'Mapping'直接卸载模块再安装没有用
解决办法:
找到pytest路径:
将里面所有所有(各种依赖包)pytest文件都删除,然后重再用:pip install pytest 即可解决问题
参考文章
评论可见,请评论后查看内容,谢谢!!!
pytest 遇到 AttributeError: module 'collections' has no attribute 'Mapping'直接卸载模块再安装没有用
解决办法:
找到pytest路径:
将里面所有所有(各种依赖包)pytest文件都删除,然后重再用:pip install pytest 即可解决问题
参考文章
本文由 用户 于 2024-03-31 发布在 金钥匙,如有疑问,请联系我们。
本文链接:https://www.51969.com/post/18704813.html
发表评论