AttributeError: 'module' object has no attribute 'BufferedIOBase' installing

python程序运行时报错: class GzipFile(io.BufferedIOBase): AttributeError: 'module' object has no attribute 'BufferedIOBase'   我们看到BufferedIOBase是io库的类,按说应该是有这个类的。我们查找io库的代码,也确实发现了BufferedIOBase。 那么报这个错是因为什么?
相关文章
相关标签/搜索